Web: RAP API - Staff
Call (Development environment)
Run("https://simsid-partner-rapapi.azurewebsites.net/api/v1/Organisation/"
+ arq.Organisation_ID+ "/staff/"
, bt1
, arq.OCP_APIM_Key
, "RAP_Staff,json"
, folder);
Where
- arq.Organisation_ID is the organisation id of the school.
- bt1 is the bearer token,
- arq.OCP_APIM_Key is the API Manager Key (Not used)
- "RAP_Staff.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:
[
{
"Id": "58313CC9-7B29-4DCC-8B3C-539380E46E45",
"Title": null,
"FirstName": "Adam",
"LastName": "Burns",
"EmailAddress": null,
"LastUpdated": "2018-12-14T09:46:19.02"
},
{
"Id": "4968A5C2-8277-4E2C-96FD-97497AAFD849",
"Title": null,
"FirstName": "ade",
"LastName": "kyle",
"EmailAddress": null,
"LastUpdated": "2018-12-14T09:46:18.503"
},
{
"Id": "7AC214E5-85B7-474D-8CBB-6528A5FE3474",
"Title": null,
"FirstName": "Adrian",
"LastName": "Austin",
"EmailAddress": null,
"LastUpdated": "2018-12-14T09:46:18.537"
},
{
"Id": "98C1F11F-1D94-46CA-8DB4-F846176F6EC8",
"Title": null,
"FirstName": "Aimee",
"LastName": "Bentley",
"EmailAddress": null,
"LastUpdated": "2018-12-14T09:45:57.847"
},