教职工部门调整
GET
https://api2.hik-cloud.com/api/v1/edu/basic/staffs/actions/adjustDepartment
功能描述
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api2.hik-cloud.com/api/v1/edu/basic/staffs/actions/adjustDepartment' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"staffIds": ["10a795f4a25dee9ed4491f28747eb6",
"10a795f4a25dee9ed4491f28747eb7",
"10a795f4a25dee9ed4491f28747eb8"],
"departments": [{
"departmentId": "7f3a2090674846528a4930a6d309eda7",
"mainDepartment": true
}, {
"departmentId": "072987f5cbec4b0c9bed7dbe98751863",
"mainDepartment": false
}],
"schoolId":"10a795f4a25dee9ed4491f28747eb6"
}'
响应示例响应示例
{
"code": 200,
"message": "操作成功"
}
请求参数
Header 参数
Authorization
string
可选
默认值:
Bearer {{access_token}}
Body 参数application/json