- 开发指南
- 基础接口
- 客户设置
- 消息推送
- 客户&线索&待分配
- 公海
- 企微组织架构
- 企微标签库
- 企业
- 合同
- 电商平台
- 营销
- 数据统计
- 内容访客
- 电销手机
- SOP任务
- 群发消息
- 管控
- 工单
- 素材
- 应用通知
- 附录
- 群数据
- 店主活码
- 通话列表
客户SOP-群发助手SOP
POST
/api/v3/customer-sop/save
type字段:
请求参数
Header 参数
appId
string
应用 appId
默认值:
{{appId}}
timestamp
string
请求时间戳
默认值:
{{timestamp}}
sign
string
请求消息签名值
默认值:
{{sign}}
appKey
string
应用 appKey
默认值:
{{appKey}}
Body 参数application/json
title
string
SOP名称
salesIds
array[integer]
指定执行员工
tagIds
array[integer]
客户标签ID值。
sopContents
array [object {3}]
SOP任务数据
sendType
integer
任务发送类型
sendDate
string
发送时间
sopDatas
array [object {14}]
SOP任务明细内容
type
integer
任务类型
示例
{
"title": "0429100002",
"salesIds": [
464248809015488
],
"sopContents": [
{
"sendType": 2,
"sendDate": "2022-04-29 10:02:00",
"sopDatas": [
{
"type": 1,
"content": "大声高呼宵夜的名字哦#"
},
{
"type": 99,
"mcId": "1c0832edb6e811ec99cd00163e06cc86",
"title": "04081122",
"content": "热热无若发送大幅度发的说法的发的发的顺丰的发的的官方的官方的",
"fileUrl": "https://blueh5.wechatsi.com/fdfsServer/group1/M00/01/54/rBIAY2I9pE2AYmw9AAAsTjWqIBM697.jpg",
"mcType": 2
},
{
"type": 2,
"fileName": "头子",
"fileUrl": "https://blue.wechatsi.com/fdfsServer/group1/M00/00/75/rBIAY2HUMb6ADK2SAACOmGxqn6Q616.jpg",
"mediaId": "3N2DpIExMsnqSvN-cm4P2BphPqej2T0DRp42mMw_Qa50",
"sign": "74251b38cea874851ff1d50ff3c06ea5",
"fileId": 69924
}
]
}
],
"type": 4
}
示例代码
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/customer-sop/save' \
--header 'appId;' \
--header 'timestamp;' \
--header 'sign;' \
--header 'appKey: {{appKey}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"title": "0429100002",
"salesIds": [
464248809015488
],
"sopContents": [{
"sendType": 2,
"sendDate": "2022-04-29 10:02:00",
"sopDatas": [
{
"type": 1,
"content": "大声高呼宵夜的名字哦#"
},
{
"type": 99,
"mcId": "1c0832edb6e811ec99cd00163e06cc86",
"title": "04081122",
"content": "热热无若发送大幅度发的说法的发的发的顺丰的发的的官方的官方的",
"fileUrl": "https://blueh5.wechatsi.com/fdfsServer/group1/M00/01/54/rBIAY2I9pE2AYmw9AAAsTjWqIBM697.jpg",
"mcType": 2
},
{
"type": 2,
"fileName": "头子",
"fileUrl": "https://blue.wechatsi.com/fdfsServer/group1/M00/00/75/rBIAY2HUMb6ADK2SAACOmGxqn6Q616.jpg",
"mediaId": "3N2DpIExMsnqSvN-cm4P2BphPqej2T0DRp42mMw_Qa50",
"sign": "74251b38cea874851ff1d50ff3c06ea5",
"fileId": 69924
}
]
}
],
"type": 4
}'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{}
修改于 2022-06-11 11:45:05