Attendance reasons are the reasons an organisation records against an absence type, such as a cause of sickness
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.
Absence reasons - Array
General Error
{- "data": [
- {
- "type": "attendanceReasons",
- "id": "2001",
- "attributes": {
- "attendanceCategoryId": 1001,
- "code": "Dentist",
- "description": "Dental appointment",
- "reasonGiven": "(A1) Medical appointment"
},
}
]
}Get absence reason by ID
Absence reason
General Error
{- "data": {
- "type": "attendanceReasons",
- "id": "2001",
- "attributes": {
- "attendanceCategoryId": 1001,
- "code": "Dentist",
- "description": "Dental appointment",
- "reasonGiven": "(A1) Medical appointment"
},
}
}