We're implementing a quick way for teacher/coaches to take quick attendance for a class meeting on our mobile app. I just need to report PRESENT | TARDY | ABSENT, the basic statuses teachers normally get in the web tools.
This endpoint below seems the way to do it per section:
POST /v1/attendance/sections/{section_id}/attendance
However, the sample body for request is is this:
{
"meeting_start_time": "2021-09-30T02:20:00Z",
"mark_class_canceled": false,
"reported_by": 11,
"student_attendances": [{
"student_user_id": 10,
"excuse_type_id": 153,
"comment": "College Trip"
}]
}
It takes an excuse_type_id which is possibly ok if we had a list of the excuse types. Which I guess get come from here: GET /v1/types/excusedtypes
But none of schools we work with have any response from that endpoint. The tokens have the Attendance Manager roles, but the response is always:
{ "count": 0, "value": []}
What I think I should want to send is this type from GET /v1/types/attendancetypes
{
"present": 1,
"absence": 2,
"tardy": 3
}
What can we do to create this basic attendance feature?
@Todd DeSchuiteneer @Stephen Boyle