Get Time Off Requests Count

Get the total count of time off requests for the current filters.

get/v1/time-off/requests/count

Request

  • Base URL
    https://app.untetherlabs.com/api
  • URL
    https://app.untetherlabs.com/api/v1/time-off/requests/count
  • Auth
    HTTP bearer

Query parameters

providerIdstring uuid

Filter to requests for a specific provider.

string uuid
OR
string[]
string uuid
OR
string[]
startDatestring

Filter to requests whose start date is on or after the given timestamp.

Example:2024-11-20T07:43:34+0000
endDatestring

Filter to requests whose end date is earlier than the provided timestamp.

Example:2024-11-20T07:43:34+0000
status'pending' | 'approved' | 'rejected' | 'cancelled' | 'pending_sync' | 'sync_failed'
Example:approved
querystring
expandstring

Available expansions: policy, provider, rejectedBy

See Query Parameters for more information on expansions.

sortstring

Available fields: createdAt, startDate

See Query Parameters for more information on sorting.

Response

countnumber required

Changes

No recorded changes to this operation across all 1 revision of this API.