| 错误码 | 说明 |
|---|---|
| 22301 | order_no非法,对应工单不存在 |
| 22303 | cc_list内的id:“LiMei”非法,对应员工不存在 |
| 22304 | staff_id非法,对应员工不存在 |
| 22305 | staff_id对应员工无处理本工单权限 |
| 22307 | 工单已关闭,不可操作 |
| 调用此接口需购买服务席位。 |
{
"order_no": "1446377590381088768",
"staff_id": "LiYang",
"handler_id": "LiHua",
"cc_list": ["LiMei","ShaoKao"],
"content": {
"text": "文字",
"pic": ["url1","url2"]
},
"attached_files":[
{
"type": "image",
"url": "www.xxx/aaa/bbb.png"
},
{
"type": "video",
"url": "www.xxx/aaa/bbb.mp4"
}
]
}curl --location -g --request POST 'https://open.weibanzhushou.com/open-api/workorder/close?access_token=' \
--header 'Content-Type: application/json' \
--data-raw '{
"order_no": "1446377590381088768",
"staff_id": "LiYang",
"handler_id": "LiHua",
"cc_list": ["LiMei","ShaoKao"],
"content": {
"text": "文字",
"pic": ["url1","url2"]
},
"attached_files":[
{
"type": "image",
"url": "www.xxx/aaa/bbb.png"
},
{
"type": "video",
"url": "www.xxx/aaa/bbb.mp4"
}
]
}'{
"errcode": 0,
"errmsg": "ok"
}