v2/absences/employments/{id}/absence_info

Return absence info of employment for given dates

Path Params
int32
required
≥ 1

Employment ID.

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.

float
≥ 0

Number of working days equivalent for the absence. Set this if you only want a suggestion for the absence hours, while the days are fix.

int32
≥ 1

ID of an absence.

absence_reason_ids[]
array of objects

Array of absence reason IDs.

absence_reason_ids[]
date-time

End date-time of the absence.

boolean

Is the absence spanning full days only?

date-time

Start date-time of the absence.

Responses

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