添加轮岗信息
POST
/idp/WorkShift/Add
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://openapi.italent.cn/idp/WorkShift/Add' \
--header 'Content-Type: application/json' \
--data-raw '{
"UserId":101141967, //用户Id为101141967
"WorkShiftDepartment":4621579, //轮岗部门Id为4621579
"PositionId":"962cd432-fa55-45f2-8621-18b40704b002", //轮岗职位Id为962cd432-fa55-45f2-8621-18b40704b002
"TutorUserId":"101141967", //轮岗导师Id为101141967
"PeriodStartDate":"2021-01-01", //开始时间晚于或等于2021年1月1日
"PeriodEndDate":"2021-01-10", //结束时间早于或等于2021年1月10日的数据
"PeriodYear":2021 //年度等于2021
}'
响应示例响应示例
{
"code": 0,
"message": "string",
"_id": "string",
"data": true
}
请求参数
Body 参数application/json
返回响应
修改于 2021-10-13 10:54:22