© 2018 Capita Business Services Ltd. All rights reserved.

Capita Education Software Solutions is a trading name of Capita Business Services Ltd. Our Registered office is 30 Berners Street, London, W1T 3LR and our registered number is 02299747. Further information about Capita plc can be found in our legal statement.

Web: OneRoster - Classes

Call (Development environment)

Run("https://simsid-partner-oneroster.azurewebsites.net/ims/oneroster/v1p1/classes/"
      , bt1
      , arq.OCP_APIM_Key
      , "Classes,json"
      , folder);

Where

  • bt1 is the bearer token,
  • arq.OCP_APIM_Key is the API Manager Key (Not used)
  • "Classes.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:

{
    "classes": [
        {
            "sourcedId": "95e08ccb-b053-43f9-af48-46c5048adb0a",
            "status": "active",
            "dateLastModified": "2018-09-24T09:51:19.237Z",
            "metadata": {},
            "title": "1 - Untitled Class",
            "classCode": "1",
            "classType": "scheduled",
            "location": "",
            "grades": [],
            "subjects": [],
            "course": null,
            "school": {
                "href": "https://simsid-partner-oneroster.azurewebsites.net/ims/oneroster/v1p1/schools/1F75608A-9006-4FC8-96E7-3E537C904B84",
                "sourcedId": "1f75608a-9006-4fc8-96e7-3e537c904b84",
                "type": "org"
            },
            "terms": [],
            "subjectCodes": [],
            "resources": []
        },
        {
            "sourcedId": "d3976af7-1fc8-41db-8aee-93801ef8e219",
            "status": "active",
            "dateLastModified": "2018-09-24T09:51:19.140Z",
            "metadata": {},
            "title": "1.2 Reg - Untitled Class",
            "classCode": "1.2 Reg",
            "classType": "scheduled",
            "location": "",
            "grades": [],
            "subjects": [],
            "course": null,
            "school": {
                "href": "https://simsid-partner-oneroster.azurewebsites.net/ims/oneroster/v1p1/schools/1F75608A-9006-4FC8-96E7-3E537C904B84",
                "sourcedId": "1f75608a-9006-4fc8-96e7-3e537c904b84",
                "type": "org"
            },
            "terms": [],
            "subjectCodes": [],
            "resources": []
        },
        {
            "sourcedId": "befc96c3-3986-47c7-93e3-96a7e929b332",
            "status": "active",
            "dateLastModified": "2018-09-24T09:51:19.140Z",
            "metadata": {},
            "title": "10A - Untitled Class",
            "classCode": "10A",
            "classType": "scheduled",
            "location": "",
            "grades": [],
            "subjects": [],
            "course": null,
            "school": {
                "href": "https://simsid-partner-oneroster.azurewebsites.net/ims/oneroster/v1p1/schools/1F75608A-9006-4FC8-96E7-3E537C904B84",
                "sourcedId": "1f75608a-9006-4fc8-96e7-3e537c904b84",
                "type": "org"
            },
            "terms": [],
            "subjectCodes": [],
            "resources": []
        },