通过学号获取学生信息
POST
https://api2.hik-cloud.com/api/v1/edu/basic/students/actions/getStudentInfoByStudentNumber
功能描述
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api2.hik-cloud.com/api/v1/edu/basic/students/actions/getStudentInfoByStudentNumber' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"studentNumber": "11a795f4a25d4de09ed",
"schoolId": "11a795f4a25d4de09edd091f28dd7efc"
}'
响应示例响应示例
{
"code": 200,
"message": "操作成功",
"data": {
"studentId": "b202b80e1bbd41f6b4bd70c4e9493965",
"studentName": "cgxs20",
"studentNumber": "123542165",
"studentType": 1,
"studentSex": 1,
"classId": "418c614ada2c4e8487424c3998f5bad2",
"card": "",
"birthDate": "",
"entryDate": "",
"graduateDate": "",
"phoneNumber": "",
"nation": "",
"personNative": "",
"address": "",
"comment": "",
}
"success": true
}
请求参数
Header 参数
Authorization
string
可选
默认值:
Bearer {{access_token}}
Body 参数application/json