curl --request PATCH \
--url https://api.alpha-1edtech.ai/ims/oneroster/gradebook/v1p2/assessmentLineItems/{sourcedId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"assessmentLineItem": {
"status": "active",
"metadata": {},
"title": "<string>",
"description": "<string>",
"class": {
"sourcedId": "<string>"
},
"parentAssessmentLineItem": {
"sourcedId": "<string>"
},
"scoreScale": {
"sourcedId": "<string>"
},
"resultValueMin": 123,
"resultValueMax": 123,
"component": {
"sourcedId": "<string>"
},
"componentResource": {
"sourcedId": "<string>"
},
"learningObjectiveSet": [
{
"source": "<string>",
"learningObjectiveIds": [
"<string>"
]
}
],
"course": {
"sourcedId": "<string>"
}
}
}
'{}To partially update an existing Assessment Line Item with metadata merging support.
curl --request PATCH \
--url https://api.alpha-1edtech.ai/ims/oneroster/gradebook/v1p2/assessmentLineItems/{sourcedId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"assessmentLineItem": {
"status": "active",
"metadata": {},
"title": "<string>",
"description": "<string>",
"class": {
"sourcedId": "<string>"
},
"parentAssessmentLineItem": {
"sourcedId": "<string>"
},
"scoreScale": {
"sourcedId": "<string>"
},
"resultValueMin": 123,
"resultValueMax": 123,
"component": {
"sourcedId": "<string>"
},
"componentResource": {
"sourcedId": "<string>"
},
"learningObjectiveSet": [
{
"source": "<string>",
"learningObjectiveIds": [
"<string>"
]
}
],
"course": {
"sourcedId": "<string>"
}
}
}
'{}The access token received from the authorization server in the OAuth 2.0 flow.
The sourcedId of the assessment line item to update
Show child attributes
Successfully updated
The response is of type object.