- OpenAPI基本介绍
- 错误码参考 表
- 访问频率和并发限制
- 消息订阅
- 获取访问凭据
- 员工管理
- 自定义订单管理
- 客户管理
- 客户积分管理
- 客户标签管理
- 客户画像管理
- 标签库管理
- 群聊管理
- 工单管理
- 销售过程管理
- 聊天记录管理
- 拉新排行榜
- 群裂变
- 群打卡
- 企微任务宝
- 拉新排行榜
- 自定义表单
- 客户转化
- 员工个人群发记录管理
- 渠道码管理
- 素材库管理
- 互动雷达管理
- 自定义侧边栏身份校验
- 有赞订单管理
- 小鹅通订单管理
- 项目管理
- 门店信息
- 人群包
- 客户群发
- 企微朋友圈
- 个人SOP
- 部门管理
- 群标签管理
- 话术库
- 企微数据专区
评论工单
POST
/open-api/workorder/reply
错误码 | 说明 |
---|---|
22301 | order_no非法,对应工单不存在 |
22304 | staff_id非法,对应员工不存在 |
22305 | staff_id对应员工无处理本工单权限 |
22307 | 工单已关闭,不可操作 |
调用此接口需购买服务席位。 |
请求参数
Query 参数
access_token
string
调用接口凭证
默认值:
{{access_token}}
Body 参数application/json
order_no
string
工单号
staff_id
string
必需
content
object
可选
text
string
必需
pic
array[string]
必需
is_show
integer
是否展示评论
attached_json
array [object {2}]
可选
type
string
必 需
url
string
必需
示例
{
"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"
}
]
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://open.weibanzhushou.com/open-api/workorder/reply?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"
}
]
}'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{
"errcode": 0,
"errmsg": "ok"
}
🟢200正常返回
修改于 2024-03-05 07:15:21