curl --request POST \
--url https://api.alpha-1edtech.ai/ims/oneroster/rostering/v1p2/schools/ \
--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>"
}
}
}
'{
"sourcedIdPairs": {
"suppliedSourcedId": "<string>",
"allocatedSourcedId": "<string>"
}
}To create a new School. The responding system must return the set of sourcedIds that have been allocated to the newly created school record.
curl --request POST \
--url https://api.alpha-1edtech.ai/ims/oneroster/rostering/v1p2/schools/ \
--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>"
}
}
}
'{
"sourcedIdPairs": {
"suppliedSourcedId": "<string>",
"allocatedSourcedId": "<string>"
}
}