curl --request POST \
--url https://api.alpha-1edtech.ai/powerpath/lessonPlans/updateStudentItemResponse \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"studentId": "<string>",
"componentResourceId": "<string>",
"result": {
"status": "active",
"scoreDate": "2023-11-07T05:31:56Z",
"scoreStatus": "exempt",
"metadata": {},
"score": 123,
"textScore": "<string>",
"scorePercentile": 123,
"comment": "<string>",
"learningObjectiveSet": [
{
"source": "<string>",
"learningObjectiveResults": [
{
"learningObjectiveId": "<string>",
"score": 123,
"textScore": "<string>"
}
]
}
],
"inProgress": "<string>",
"incomplete": "<string>",
"late": "<string>",
"missing": "<string>"
}
}
'{
"componentResourceLineItem": {
"status": "active",
"title": "<string>",
"sourcedId": "<string>",
"dateLastModified": "2023-11-07T05:31:56Z",
"metadata": {},
"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>"
}
},
"componentResourceResult": {
"status": "active",
"assessmentLineItem": {
"sourcedId": "<string>"
},
"student": {
"sourcedId": "<string>"
},
"scoreDate": "2023-11-07T05:31:56Z",
"scoreStatus": "exempt",
"sourcedId": "<string>",
"dateLastModified": "2023-11-07T05:31:56Z",
"metadata": {},
"score": 123,
"textScore": "<string>",
"scoreScale": {
"sourcedId": "<string>"
},
"scorePercentile": 123,
"comment": "<string>",
"learningObjectiveSet": [
{
"source": "<string>",
"learningObjectiveResults": [
{
"learningObjectiveId": "<string>",
"score": 123,
"textScore": "<string>"
}
]
}
],
"inProgress": "<string>",
"incomplete": "<string>",
"late": "<string>",
"missing": "<string>"
}
}Update the student item response for a student in a course.
The item may be a component or componentResource.
You should provide either the componentId or the componentResourceId.
If you provide the componentId, the data in the response payload should be in relation to the student’s response to the entire component.
If you provide the componentResourceId, the data in the response payload should be in relation to the student’s response to the specific resource.
curl --request POST \
--url https://api.alpha-1edtech.ai/powerpath/lessonPlans/updateStudentItemResponse \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"studentId": "<string>",
"componentResourceId": "<string>",
"result": {
"status": "active",
"scoreDate": "2023-11-07T05:31:56Z",
"scoreStatus": "exempt",
"metadata": {},
"score": 123,
"textScore": "<string>",
"scorePercentile": 123,
"comment": "<string>",
"learningObjectiveSet": [
{
"source": "<string>",
"learningObjectiveResults": [
{
"learningObjectiveId": "<string>",
"score": 123,
"textScore": "<string>"
}
]
}
],
"inProgress": "<string>",
"incomplete": "<string>",
"late": "<string>",
"missing": "<string>"
}
}
'{
"componentResourceLineItem": {
"status": "active",
"title": "<string>",
"sourcedId": "<string>",
"dateLastModified": "2023-11-07T05:31:56Z",
"metadata": {},
"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>"
}
},
"componentResourceResult": {
"status": "active",
"assessmentLineItem": {
"sourcedId": "<string>"
},
"student": {
"sourcedId": "<string>"
},
"scoreDate": "2023-11-07T05:31:56Z",
"scoreStatus": "exempt",
"sourcedId": "<string>",
"dateLastModified": "2023-11-07T05:31:56Z",
"metadata": {},
"score": 123,
"textScore": "<string>",
"scoreScale": {
"sourcedId": "<string>"
},
"scorePercentile": 123,
"comment": "<string>",
"learningObjectiveSet": [
{
"source": "<string>",
"learningObjectiveResults": [
{
"learningObjectiveId": "<string>",
"score": 123,
"textScore": "<string>"
}
]
}
],
"inProgress": "<string>",
"incomplete": "<string>",
"late": "<string>",
"missing": "<string>"
}
}The access token received from the authorization server in the OAuth 2.0 flow.