/:schoolID/update-student
ใช้สำหรับการ update ข้อมูล student
Method PATCH
Role ที่ใช้ได้ school admin
, system admin
content-type application/json
PATH variable | Descripton |
---|---|
schoolID | เลข ID ของแต่ละโรงเรียน |
Request
{
"firstname": "first",
"lastname": "last",
"enteredYear": "2022",
"classYear": 1,
"isActive": 1,
"tel": "0123456789",
"email": "[email protected]",
"clubs": "",
"reviews": "",
"requests": ""
}
- success
- fail
Response
{
"success": true
}
Response
{
"success": false,
"message": "lorem ipsum."
}