- OpenAPI基本介绍
- 错误码参考 表
- 访问频率和并发限制
- 消息订阅
- 获取访问凭据
- 员工管理
- 自定义订单管理
- 客户管理
- 客户积分管理
- 客户标签管理
- 客户画像管理
- 标签库管理
- 群聊管理
- 工单管理
- 销售过程管理
- 聊天记录管理
- 拉新排行榜
- 群裂变
- 群打卡
- 企微任务宝
- 拉新排行榜
- 自定义表单
- 客户转化
- 员工个人群发记录管理
- 渠道码管理
- 素材库管理
- 互动雷达管理
- 自定义侧边栏身份校验
- 有赞订单管理
- 小鹅通订单管理
- 项目管理
- 门店信息
- 人群包
- 客户群发
- 企微朋友圈
- 个人SOP
- 部门管理
- 群标签管理
- 话术库
- 企微数据专区
修改工单
POST
/open-api/workorder/update
错误码 | 说明 |
---|---|
22301 | order_no非法,对应工单不存在 |
22304 | staff_id非法,对应员工不存在 |
22305 | staff_id对应员工无处理本工单权限 |
22311 | component_type为select,checked,radio或selectMultiple时,必须填写values |
22312 | component_type为input或textarea时,必须填写value |
22316 | values非法,不在选项中 |
22318 | component_record_id非法 |
调用此接口需购买服务席位。 |
请求参数
Query 参数
access_token
string
调用接口凭证
默认值:
{{access_token}}
Body 参数application/json
content
object (content)
自定义表单组
text
string
必需
pic
array[string]
图片链接列表
title
string
工单标题
order_no
string
工单号
staff_id
string
修改工单的员工id
component_records
array [object {3}]
自定义表单组件列表
value
string
可选
values
object
可选
component_record_id
integer
必需
示例
{
"order_no": "velit culpa",
"content": {
"text": "ut in est",
"pic": [
"http://dummyimage.com/400x400",
"http://dummyimage.com/400x400",
"http://dummyimage.com/400x400",
"http://dummyimage.com/400x400"
]
},
"title": "每下深",
"component_records": [
{
"component_id": "18",
"component_type": "reprehenderit culpa est",
"value": "sed nostrud deserunt"
}
]
}
示例代码
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/update?access_token=' \
--header 'Content-Type: application/json' \
--data-raw '{
"order_no": "velit culpa",
"content": {
"text": "ut in est",
"pic": [
"http://dummyimage.com/400x400",
"http://dummyimage.com/400x400",
"http://dummyimage.com/400x400",
"http://dummyimage.com/400x400"
]
},
"title": "每下深",
"component_records": [
{
"component_id": "18",
"component_type": "reprehenderit culpa est",
"value": "sed nostrud deserunt"
}
]
}'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{}
🟢200正常返回
修改于 2024-03-05 07:15:08