修改学生
POST
https://api2.hik-cloud.com/api/v1/edu/basic/students/actions/updateStudent
功能描述
字段传值为null默认不修改,传值为空字符串则置空。
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api2.hik-cloud.com/api/v1/edu/basic/students/actions/updateStudent' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"studentName": "string",
"studentNumber": "string",
"studentType": 0,
"studentSex": 0,
"facePicUrl": "string",
"card": "string",
"studentId": "string",
"certificateType": 0,
"certificateNumber": "string",
"picUrl": "string",
"birthDate": "string",
"entryDate": "string",
"graduateDate": "string",
"phoneNumber": "string",
"nation": "string",
"personNative": "string",
"address": "string",
"comment": "string",
"schoolId": "string"
}'
响应示例响应示例
{
"code": 200,
"message": "操作成功"
}
请求参数
Header 参数
Authorization
string
可选
默认值:
Bearer {{access_token}}
Body 参数application/json