---
title: "Exports timesheets to the preconfigured payroll webhook integration"
method: POST
path: "/api/serviceattendance/processes/timesheets/exportViaAPI"
tags: ["timesheets"]
---

# Exports timesheets to the preconfigured payroll webhook integration

`POST /api/serviceattendance/processes/timesheets/exportViaAPI`

## Request

- Base URL: `https://services.fountain.com`
- URL: `https://services.fountain.com/api/serviceattendance/processes/timesheets/exportViaAPI`
- Auth: HTTP bearer

## Query parameters

- `timesheetUuids` string[]
- `filter` ParametersFilter
  - `where` ParametersFilterWhere
  - `fields` ParametersFilterFields
  - `limit` number
  - `skip` number
  - `order` string[]
  - `collate` ParametersFilterCollation
    - `locale` string
    - `strength` number
    - `caseLevel` boolean
    - `numericOrdering` boolean

## Request body

- object
  - `timesheetUuids` string[]: timesheetUuids to include in the export
  - `filter` ParametersFilter
    - `where` ParametersFilterWhere
    - `fields` ParametersFilterFields
    - `limit` number
    - `skip` number
    - `order` string[]
    - `collate` ParametersFilterCollation
      - `locale` string
      - `strength` number
      - `caseLevel` boolean
      - `numericOrdering` boolean

## Response `200`

Status

- object
  - `data` object, required
    - `success` boolean, required
  - `meta` ResponsesPartMeta, required
    - `timestamp` string, date-time, required
    - `verb` 'OPTION' | 'GET' | 'PUT' | 'POST' | 'PATCH' | 'DELETE'
    - `path` string
    - `jti` string
    - `rid` string
    - `count` number
    - `capped` boolean: The server lowered filter[limit] to its ceiling. Page with filter[skip] to read past it.
    - `status` string
    - `duration` number
    - `size` number

---

[API](https://skmtc.dev/fountain/apis/worker-experience-public-api.md) - [All operations](https://skmtc.dev/fountain/apis/worker-experience-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fountain/apis/worker-experience-public-api/revisions/6b9a31f79e22?raw)
