v1/absences/employments/{id}/absence_info

Return the suggested values of absence days and absence hours for an employment, a given interval, and an absence reason.

Path Params
int32
required
≥ 1

ID of the employment.

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.

date-time
required

End date-time of the absence.

date-time
required

Start date-time of the absence.

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 the absence reason to be used for absence calculation. If not submitted, the absence reason with the lowest ID is implied.

boolean

Is the absence spanning full days only?

Response

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