Online Assessment
Updates an OnlineAssessment record as specified by assess_prep_uid. The Content-Type header must be set to application/json, and the request body should contain the fields you want to update as a JSON payload.
Authorizations
AuthorizationstringRequired
OAuth 2.0 Bearer token obtained via client credentials grant. Pass the token in the Authorization header as Bearer <token>.
Path parameters
task_idintegerRequired
Unique identifier for a task.
assess_prep_uidstringRequired
Unique identifier for an AssessPrep task.
Body
Responses
200
Success
application/json
401
Unauthorized
application/json
404
Not Found
application/json
422
Unprocessable Entity
application/json
patch/v2p0/tasks/{task_id}/online_assessments/{assess_prep_uid}
PATCH /v2p0/tasks/{task_id}/online_assessments/{assess_prep_uid} HTTP/1.1
Host: api.managebac.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 359
{
"online_assessment": {
"assess_prep_uid": "6JIYJCBZ6D11OS48D4A6R3UNXY",
"title": "text",
"mode": "online",
"questions_count": 8,
"points": 50,
"duration": 60,
"start_at": "2021-05-13T10:27:47Z",
"status": "draft",
"video_monitoring": true,
"criteria_labels": [
{
"label": "Analysing",
"title": "A",
"descriptors": [
{
"level": "1-1",
"descriptor": "The student work meets expectation."
}
]
}
]
}
}{
"online_assessment": {
"id": 123434,
"user_id": 123445,
"title": "My Task",
"mode": "online",
"points": 50,
"duration": 60,
"assess_prep_uid": "6JIYJCBZ6D11OS48D4A6R3UNXY",
"assess_prep_uuid": "088190c6-aa0e-4126-9651-dca132229658",
"start_at": "2021-05-13T10:27:47Z",
"created_at": "2021-05-13T10:27:47Z",
"updated_at": "2021-05-13T10:27:47Z",
"task_id": 1,
"email": "user@managebac.com",
"program_code": "diploma",
"grade_code": "diploma;12",
"role": "Advisor",
"subject": "English",
"subject_group": "Studies in language and literature"
}
}Last updated

