Dear iSAM Support Team,
We are writing to request an enhancement to the Retrieves all non-archived absence codes endpoint: /api/registration/absencecodes
.
Currently, this endpoint is missing several vital fields that are available within the iSAMS UI for staff to adjust. These missing fields are crucial for our reporting needs, specifically for accurately determining if an absence code represents an authorised absence. As the REST API currently lacks this information, we are unable to reliably report on authorised absences based on the absence code itself.
The fields we require to be added to this endpoint are:
Colour
Reporting Options:
Code is an absence (Boolean)
Included in statistics (Boolean)
Authorised absence (Boolean)
Display Options:
School Register (Boolean)
Status Pages (Boolean)
Out of School (Boolean)
The inclusion of the "Authorised absence" flag is particularly important as it directly addresses our need to identify authorised absences through the API. Additionally, the "Colour" field would be a valuable addition for visual identification and potential reporting purposes.
For your reference, the current response structure of the /api/registration/absencecodes
endpoint is as follows:
JSON
{
"absenceCodes": [
{
"id": 0,
"code": "string",
"description": "string",
"displayOrder": 0,
"governmentCode": "string",
"governmentCodeName": "string",
"isOOSActive": true,
"name": "string"
}
]
}
We kindly request that you consider adding the aforementioned fields to this endpoint to enable more comprehensive and accurate reporting on absence data via the iSAMS REST API.
Thank you for your time and consideration of this request. We look forward to your response and a potential timeline for this enhancement.