For Developers

Get Day

GET https://ed.link/api/v2/graph/days/:day_id

Retrieve information about a specific Day.

Request Parameters

ParameterTypeDescription
day_idstringThe UUID of the desired Day.

Sample Request

axios.get('https://ed.link/api/v2/graph/days/00000000-0000-0000-0000-000000000000', {
    headers: {
        authorization: `Bearer ${integration_access_token}`
    }
});

Sample Response

{
    "data": {
        "id": "f6b318e9-cbcf-4a22-9c17-5a5ee58093dd",
        "created_date": "2023-07-21T04:29:02.228Z",
        "date": "2016-08-19T00:00:00.000Z",
        "comments": "A very useful comment.",
        "properties": {},
        "identifiers": [],
        "rule_ids": [],
        "flags": ["inclement_weather"],
        "calendar_id": "bb5b48a0-7ada-4e71-9731-7e30b450fb0c",
        "route_ids": ["a1b2c3d4-e5f6-7a8b-9c0d-e1f2a3b4c5d6"],
        "period_ids": []
    },
    "$request": "00000000-0000-0000-0000-000000000000"
}