---
title: "Returns exported headers, rows, filename for timesheets. Specify target timesheets by uuid or by filter"
method: POST
path: "/api/serviceattendance/processes/timesheets/getExportableTimesheets"
tags: ["timesheets"]
---

# Returns exported headers, rows, filename for timesheets. Specify target timesheets by uuid or by filter

`POST /api/serviceattendance/processes/timesheets/getExportableTimesheets`

## Request body

- object
  - `filter` object, required
  - `period` object, required
    - `start` string, required
    - `end` string, required
  - `options` object
    - `excludePendingWorkers` boolean
    - `onlyCount` boolean

## Response `200`

The uuids of the exportable timesheets or the count of the exportable timesheets

- object
  - `data` union, required
    - object
      - `uuids` string[], required
    - object
      - `count` number, required
  - `meta` ResponsesPartMeta, required
    - `timestamp` string, date-time, required
    - `verb` 'OPTION' | 'GET' | 'PUT' | 'POST' | 'PATCH' | 'DELETE'
    - `path` string
    - `jti` string
    - `rid` string
    - `count` number
    - `status` string
    - `duration` number
    - `size` number

---

[API](https://skmtc.net/fountain/apis/hire-public-api.md) · [All operations](https://skmtc.net/fountain/apis/hire-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/fountain/hire-public-api/revisions/5f406c0e9462/schema)
