POST
/v1/waiting-lists/
curl \
--request POST 'https://api-dev.classmanager.io/v1/waiting-lists/' \
--header "Content-Type: application/json" \
--data '[{"studentId":"stu_123123123123","classId":"cls_123123123123"}]'
Request examples
[
{
"studentId": "stu_123123123123",
"classId": "cls_123123123123"
}
]
Response examples (200)
[
{
"id": "loc_xxxxxxxxxxx",
"companyId": "co_123123123123",
"classId": "cls_123123123123",
"studentId": "stu_123123123123",
"createdAt": "2023-12-05 14:30:41"
}
]
Response examples (403)
{
"statusCode": 42.0,
"messages": [
"string"
],
"exception": {}
}
Response examples (422)
{
"statusCode": 42.0,
"messages": [
"string"
],
"exception": {}
}