v1/absence_reasons/stats

Return aggregated absence days for each absence reason, for an employee.

Query Params
string
required

This is a testing sandbox. We advise against using credentials for production accounts here.

E-mail address of the API user.

string
required

This is a testing sandbox. We advise against using credentials for production accounts here.

Authentication token - can be fetched by login action.

int32
required
≥ 1

ID of a shyftplan account.

boolean

Filter to retrieve only absences with or without an attachment file.

    Available options:
  • (None selected): Filter deactivated.
  • true: Absences with attachment file.
  • false(None selected): Absences without attachment file.

int32
required
≥ 1

Employment ID.

date-time

End of the search period. Absences are only included in the aggregation if they at least partially overlap with the period.

location_ids[]
array of int32s

Filter for an array Location ID

location_ids[]
date-time

Start of the search period. Absences are only included in the aggregation if they at least partially overlap with the period.

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json