- 开发指南
- 基础接口
- 客户设置
- 消息推送
- 客户&线索&待分配
- 客户查询
- 客户导入
- 客户
- 线索&待分配
- 商机
- 个人客户转企业客户
- 企业客户联系人
- 客户旅程
- 客户操作
- 按企微员工id列出企微好友客户详情POST
- 公海
- 企微组织架构
- 企微标签库
- 企业
- 合同
- 电商平台
- 营销
- 数据统计
- 内容访客
- 电销手机
- SOP任务
- 群发消息
- 管控
- 工单
- 素材
- 应用通知
- 附录
- 群数据
- 店主活码
- 通话列表
- 龙湖定制
创建工单
POST
/api/v3/work/sheet/create
请求参数
Header 参数
appId
string
应用 appId
默认值:
{{appId}}
timestamp
string
请求时间戳
默认值:
{{timestamp}}
sign
string
请求消息签名值
默认值:
{{sign}}
appKey
string
应用 appKey
默认值:
{{appKey}}
Body 参数application/json
moduleId
integer
模板id-必填
customerId
string
可选
title
string
必需
content
string
必需
priority
integer
必需
followUsers
object
关注人-非必填
unitId
integer
关注人ID
name
string
关注人姓名
type
integer
必需
salesId
string
关联客户所属的销售
userId
number
可选
departmentId
number
必需
orderList
array[string]
关联订单-非必填
appendix
array [object {4}]
可选
fileType
string
文件类型
fileName
string
文件名称
url
string
路径
fileSize
string
文件大小
fieldDefine
array [object {3}]
可选
字段名1
string
可选
字段名2
string
可选
字段名3
string
可选
示例
{
"moduleId": 430975492448320,
"moduleType": 1,
"customerId": "",
"title": "标题",
"content": "内容",
"priority": 2,
"followUsers": [
{
"unitId": 471895895726400,
"name": "关注人",
"type": 2
}
],
"salesId": "",
"userId": 459662865780800,
"departmentId": 217106,
"orderList": [],
"appendix": [
{
"fileType": "jpg",
"fileName": "飞书20220801-114323",
"url": "https://dev.tanmarket.cn/fdfsServer/group3/M00/90/6B/rBHTdWMJwc6AXfHBAAAlhCoZUpM614.jpg",
"fileSize": "9.38KB"
}
],
"fieldDefine": [
{
"多行字段": "撒"
}
]
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/v3/work/sheet/create' \
--header 'appId;' \
--header 'timestamp;' \
--header 'sign;' \
--header 'appKey: {{appKey}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"moduleId": 430975492448320,
"moduleType": 1,
"customerId": "",
"title": "标题",
"content": "内容",
"priority": 2,
"followUsers": [
{
"unitId": 471895895726400,
"name": "关注人",
"type": 2
}
],
"salesId": "",
"userId": 459662865780800,
"departmentId": 217106,
"orderList": [],
"appendix": [
{
"fileType": "jpg",
"fileName": "飞书20220801-114323",
"url": "https://dev.tanmarket.cn/fdfsServer/group3/M00/90/6B/rBHTdWMJwc6AXfHBAAAlhCoZUpM614.jpg",
"fileSize": "9.38KB"
}
],
"fieldDefine": [
{
"多行字段": "撒"
}
]
}'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{}
修改于 2022-09-07 08:49:21