For Developers

List Attendance

GET https://ed.link/api/v2/graph/attendance

Retrieve a list of Attendance records.

Request Parameters

This query allows for standard paging parameters.

ParameterLocationTypeDescription
$firstquerynumber

Returns the first n elements from the list.

$lastquerynumber

Returns the last n elements from the list.

$beforequeryuuid

Returns the elements in the list that come before the specified item.

$afterqueryuuid

Returns the elements in the list that come after the specified item.

It is best practice to use either $first or $last in conjunction with the $next value returned by the API to paginate through results.

Sample Request

axios.get(`https://ed.link/api/v2/graph/attendance`, {
    headers: {
        authorization: `Bearer ${integration_access_token}`
    }
});

Sample Response

{
    "$data": [
        {
            "id": "00000000-0000-0000-0000-000000000000",
            "created_date": "2021-07-05T20:32:40.454Z",
            "updated_date": "2021-07-12T21:44:23.126Z",
            "state": "present",
            "flags": [],
            "comment": "This is a comment",
            "properties": {},
            "person_id": "00000000-0000-0000-0000-000000000000",
            "meeting_id": "00000000-0000-0000-0000-000000000000"
        },
        {
            "id": "00000000-0000-0000-0000-000000000000",
            "created_date": "2021-07-05T20:32:40.454Z",
            "updated_date": "2021-07-12T21:44:23.126Z",
            "state": "absent",
            "flags": ["excused"],
            "comment": "Excused by parent",
            "properties": {},
            "person_id": "00000000-0000-0000-0000-000000000000",
            "meeting_id": "00000000-0000-0000-0000-000000000000"
        }
    ],
    "$request": "00000000-0000-0000-0000-000000000000"
}