v2/absences/employments/{id}/absence_infoCopy Pageget https://shyftplan.com/api/v2/absences/employments/{id}/absence_infoReturn absence info of employment for given datesPath Paramsidint32required≥ 1Employment ID.Query Paramsuser_emailstringrequiredThis is a testing sandbox. We advise against using credentials for production accounts here. E-mail address of the API user.authentication_tokenstringrequiredThis is a testing sandbox. We advise against using credentials for production accounts here. Authentication token - can be fetched by login action.company_idint32required≥ 1ID of a shyftplan account.absence_daysfloat≥ 0Number of working days equivalent for the absence. Set this if you only want a suggestion for the absence hours, while the days are fix.absence_idint32≥ 1ID of an absence.absence_reason_ids[]array of objectsArray of absence reason IDs.absence_reason_ids[]ADD int32ends_atdate-timeEnd date-time of the absence.is_full_daybooleanIs the absence spanning full days only?truetruefalsestarts_atdate-timeStart date-time of the absence.Responses 200Successfully listed 400Bad request 401Unauthorized 403Forbidden 404Company not found. 422Invalid request.Updated about 2 months ago