创建或更新指定事件
POST
/RecruitV6/api/v1/Calendar/CreateOrUpdateCalendarEvents
使用从Get接口中获取的数据Id
错误码示例
错误码:417,错误信息:业务逻辑错误,解决方式:根据message中的提示修改相关传入数据
错误码:500,错误信息:系统异常,解决方式:请联系北森技术人员
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://openapi.italent.cn/RecruitV6/api/v1/Calendar/CreateOrUpdateCalendarEvents' \
--header 'Content-Type: application/json' \
--data-raw '{
"EventType":1,
"Events":[
{
"id":"00000000-0000-0000-0000-000000000000",
"ownerId":116460009,
"foreignEventID":"1000008",
"startTime":"2021-06-20T20:00:00",
"endTime":"2021-06-21T07:00:00",
"title":"Highland Park Plan Discussion",
"customizeInfo":[
{
"key":"Location",
"value":"No 8, Botany Rd, Auckland"
},
{
"key":"Remind",
"value":"No remind"
}]
}]
}'
响应示例响应示例
{
"data": {
"createdIds": [
"string"
]
},
"code": 0,
"message": "string"
}
请求参数
Body 参数application/json
返回响应
修改于 2021-10-13 10:54:25