ESSDeX: OneRoster - Terms
Call (Development environment)
Run("https://simsid-partner-oneroster.azurewebsites.net/ims/oneroster/v1p1/Terms/"
, bt1
, arq.OCP_APIM_Key
, "Terms.json"
, folder);
Where
- bt1 is the bearer token,
- arq.OCP_APIM_Key is the API Manager Key (Not used)
- "Terms.json" is the file name to write the output to and
- folder is the location to create the file
You can find all the base class definitions here along with details of the scopes.
NB: The live URL will have a different 'stem'.
Will return:
{
"academicSessions": [
{
"sourcedId": "aa81c2b0-2cbd-464c-a2b1-a702512d114a",
"status": "active",
"dateLastModified": "2018-01-01T00:00:00.000Z",
"metadata": {},
"title": "Spring Term",
"startDate": "2018-01-01",
"endDate": "2018-03-31",
"type": "term",
"parent": {
"href": "https://simsid-partner-oneroster.azurewebsites.net/ims/oneroster/v1p1/academicSessions/",
"sourcedId": "",
"type": "academicSession"
},
"children": []
}
]
}