添加接待人员
POST
/cgi-bin/kf/servicer/add
服务端API企业内部开发第三方应用开发
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'https://qyapi.weixin.qq.com/cgi-bin/kf/servicer/add?access_token=' \
--header 'Content-Type: application/json' \
--data-raw '{
"open_kfid": "kfxxxxxxxxxxxxxx",
"userid_list": ["zhangsan", "lisi"],
"department_id_list": [2, 4]
}'
响应示例响应示例
{
"errcode": 0,
"errmsg": "ok",
"result_list": [
{
"userid": "zhangsan",
"errcode": 0,
"errmsg": "success"
},
{
"userid": "lisi",
"errcode": 0,
"errmsg": "ignored"
},
{
"department_id": 2,
"errcode": 0,
"errmsg": "success"
},
{
"department_id": 3,
"errcode": 0,
"errmsg": "ignored"
}
]
}
请求参数
Query 参数
access_token
调用接口凭证
示例值:
{{accesstoken}}
Body 参数application/json
返回响应
修改于 2022-12-06 09:36:41