curl --request PUT \
--url https://api.alpha-1edtech.ai/ims/oneroster/rostering/v1p2/schools/{sourcedId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"org": {
"name": "<string>",
"type": "<string>",
"sourcedId": "<string>",
"status": "active",
"metadata": {},
"identifier": "<string>",
"parent": {
"sourcedId": "<string>"
}
}
}
'{
"sourcedId": "<string>",
"status": "active",
"name": "<string>",
"type": "department",
"identifier": "<string>",
"children": [],
"dateLastModified": "2023-11-07T05:31:56Z",
"metadata": {},
"parent": {
"href": "<string>",
"sourcedId": "<string>",
"type": "<string>"
}
}To update an existing School. The sourcedId for the record to be updated is supplied by the requesting system.
curl --request PUT \
--url https://api.alpha-1edtech.ai/ims/oneroster/rostering/v1p2/schools/{sourcedId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"org": {
"name": "<string>",
"type": "<string>",
"sourcedId": "<string>",
"status": "active",
"metadata": {},
"identifier": "<string>",
"parent": {
"sourcedId": "<string>"
}
}
}
'{
"sourcedId": "<string>",
"status": "active",
"name": "<string>",
"type": "department",
"identifier": "<string>",
"children": [],
"dateLastModified": "2023-11-07T05:31:56Z",
"metadata": {},
"parent": {
"href": "<string>",
"sourcedId": "<string>",
"type": "<string>"
}
}The access token received from the authorization server in the OAuth 2.0 flow.
School sourced ID
Show child attributes
School successfully updated
Represents an organization.
active, tobedeleted department, school, district, local, state, national Show child attributes
Show child attributes
Show child attributes