For Developers

Get Department

GET https://ed.link/api/v2/graph/departments/:department_id

Retrieve information about a specific Department.

Request Parameters

ParameterTypeDescription
department_idstringThe UUID of the desired Department.

Sample Request

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

Sample Response

{
    "$data": {
        "id": "b54969b2-e519-4231-b9b2-bb5dedabbdb8",
        "created_date": "2021-07-14T10:20:30.123Z",
        "updated_date": "2021-07-14T10:20:30.123Z",
        "properties": {},
        "name": "Department of Science",
        "description": "Home of all Scientific Studies",
        "school_ids": ["a3303522-8747-456e-8dda-a4079dc32409"],
        "identifiers": [
            {
                "type": "sis_id",
                "value": "152"
            }
        ]
    },
    "$request": "00000000-0000-0000-0000-000000000000"
}