Web: OneRoster - Gradingperiods

 Call (Development environment)

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

Where

  • bt1 is the bearer token,
  • arq.OCP_APIM_Key is the API Manager Key (Not used)
  • "Gradingperiods.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": "92fdcc88-bf9a-425a-956c-cb3030c18211",
            "status": "active",
            "dateLastModified": "2018-04-09T00:00:00.000Z",
            "metadata": {},
            "title": "Test Grading Period",
            "startDate": "2018-01-01",
            "endDate": "2019-01-01",
            "type": "gradingPeriod",
            "parent": {
                "href": "https://simsid-partner-oneroster.azurewebsites.net/ims/oneroster/v1p1/academicSessions/",
                "sourcedId": "",
                "type": "academicSession"
            },
            "children": []
        }
    ]
}