attendance reasons

Attendance reasons are the reasons an organisation records against an absence type, such as a cause of sickness

Get absence reasons

Lists the absence reasons held for the organisation, for every absence type or for one. Map your own reason codes to a reason's id.

SecuritybearerAuth
Request
query Parameters
attendanceCategory
integer

Return only the reasons of this absence type. Takes the absence type's id. A value that isn't an integer returns 400, and an absence type that doesn't exist returns 404.

Example: attendanceCategory=1001
Responses
200

Absence reasons - Array

default

General Error

get/attendanceReasons
Request samples
Response samples
application/vnd.api+json
{}

Get absence reason by ID

Get absence reason by ID

SecuritybearerAuth
Request
path Parameters
id
required
string

Absence reason ID (an integer)

Example: 2001
Responses
200

Absence reason

default

General Error

get/attendanceReasons/{id}
Request samples
Response samples
application/vnd.api+json
{}