v1/absence_reasons/statsCopy Pageget https://shyftplan.com/api/v1/absence_reasons/statsReturn aggregated absence days for each absence reason, for an employee.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.attachmentbooleanFilter 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.truetruefalseemployment_idint32required≥ 1Employment ID.ends_atdate-timeEnd of the search period. Absences are only included in the aggregation if they at least partially overlap with the period.location_ids[]array of int32sFilter for an array Location IDlocation_ids[]ADD int32starts_atdate-timeStart of the search period. Absences are only included in the aggregation if they at least partially overlap with the period.Responses 200Success. 403Forbidden. 404Employment not found.Updated 3 months ago v2/absence_reasons/{id}assignment_groupsDid this page help you?YesNo