PUT
/v1/trials/{id}
curl \
--request PUT 'https://classmanager.test/v1/trials/trl_xxxxxxxx' \
--header "Content-Type: application/json" \
--data '{"classId":"cls_xxxxxxxxxxx","trialAt":"2023-12-05","time":"23:15"}'
Request examples
{
"classId": "cls_xxxxxxxxxxx",
"trialAt": "2023-12-05",
"time": "23:15"
}
Response examples (200)
{
"id": "trl_xxxxxxxxxxx",
"companyId": "co_123123123123",
"classId": "cls_123123123123",
"studentId": "stu_123123123123",
"trialAt": "2023-12-05",
"time": "23:15",
"archivedAt": "2024-06-12T09:39:49.000000Z"
}
Response examples (403)
{
"statusCode": 42.0,
"messages": [
"string"
],
"exception": {}
}
Response examples (404)
{
"statusCode": 42.0,
"messages": [
"string"
],
"exception": {}
}