curl --request POST \
--url https://api.alpha-1edtech.ai/ims/oneroster/rostering/v1p2/demographics/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"demographics": {
"sourcedId": "<string>",
"status": "active",
"metadata": {},
"birthDate": "<string>",
"sex": "male",
"americanIndianOrAlaskaNative": "true",
"asian": "true",
"blackOrAfricanAmerican": "true",
"nativeHawaiianOrOtherPacificIslander": "true",
"white": "true",
"demographicRaceTwoOrMoreRaces": "true",
"hispanicOrLatinoEthnicity": "true",
"countryOfBirthCode": "<string>",
"stateOfBirthAbbreviation": "<string>",
"cityOfBirth": "<string>",
"publicSchoolResidenceStatus": "<string>"
}
}
'{
"sourcedIdPairs": {
"suppliedSourcedId": "<string>",
"allocatedSourcedId": "<string>"
}
}To create a new Demographic record. The responding system must return the set of sourcedIds that have been allocated to the newly created demographic record.
curl --request POST \
--url https://api.alpha-1edtech.ai/ims/oneroster/rostering/v1p2/demographics/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"demographics": {
"sourcedId": "<string>",
"status": "active",
"metadata": {},
"birthDate": "<string>",
"sex": "male",
"americanIndianOrAlaskaNative": "true",
"asian": "true",
"blackOrAfricanAmerican": "true",
"nativeHawaiianOrOtherPacificIslander": "true",
"white": "true",
"demographicRaceTwoOrMoreRaces": "true",
"hispanicOrLatinoEthnicity": "true",
"countryOfBirthCode": "<string>",
"stateOfBirthAbbreviation": "<string>",
"cityOfBirth": "<string>",
"publicSchoolResidenceStatus": "<string>"
}
}
'{
"sourcedIdPairs": {
"suppliedSourcedId": "<string>",
"allocatedSourcedId": "<string>"
}
}