Skip to main content
POST
/
ims
/
oneroster
/
gradebook
/
v1p2
/
categories
Create a Category
curl --request POST \
  --url https://api.alpha-1edtech.ai/ims/oneroster/gradebook/v1p2/categories/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "category": {
    "status": "active",
    "title": "<string>",
    "sourcedId": "<string>",
    "dateLastModified": "2023-11-07T05:31:56Z",
    "metadata": {},
    "weight": 123
  }
}
'
{
  "sourcedIdPairs": {
    "suppliedSourcedId": "<string>",
    "allocatedSourcedId": "<string>"
  }
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
category
object
required

Represents a category.

Response

Category successfully created

sourcedIdPairs
object
required