- 对接说明
- 全局异常码
- 联系人合并接口迁移说明
- 一、获取访问凭据
- 二、通讯录管理
- 三、企微好友管理🚀🚀🚀
- 四、线索管理(即将废弃)
- 五、企业管理🚀🚀🚀
- 六、智能码
- 七、三方ID转换
- 八、跟进记录🚀🚀🚀
- 九、旅程动态🚀🚀🚀
- 十、商机🚀🚀🚀
- 十一、资料库
- 十二、标签管理🚀🚀🚀
- 十三、营销组件
- 十四、消息推送
- 十五、群相关
- 十六、自定义字段🚀🚀🚀
- 十七、外呼相关
- 十八、个微人脉管理
- 十九、联系人🚀🚀🚀
- 二十、活动管理
- 事件回调 🚀🚀🚀
9.1 创建旅程-新版
POST
https://openapi.weiling.cn/openapi/v2/event/create
请求参数
Query 参数
access_token
string
可选
Body 参数application/json
id
string
对象id
type
integer
0-联系人 3企业
event_list
array [object {5}]
必需
index
integer
从0开始,不可重合
title
string
标题
content
string
内容
create_time
integer
必需
create_user_id
string
创建人
示例
{
"id": "xxx",
"type": 1,
"event_list": [
{
"index": 0,
"title": "xxx",
"content": "xxx",
"create_time": 1609430400000,
"create_user_id": "xxx"
},
{
"index": 1,
"title": "xxx",
"content": "xxx",
"create_time": 1609430400000,
"create_user_id": "xxx"
}
]
}
示例代码
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://openapi.weiling.cn/openapi/v2/event/create?access_token' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": "xxx",
"type": 1,
"event_list": [
{
"index": 0,
"title": "xxx",
"content": "xxx",
"create_time": 1609430400000,
"create_user_id": "xxx"
},
{
"index": 1,
"title": "xxx",
"content": "xxx",
"create_time": 1609430400000,
"create_user_id": "xxx"
}
]
}'
返回响应
🟢200成功
application/json
Body
msg
string
必需
code
integer
必需
data
object
必需
fail_list
array [object {3}]
失败的列表
success_list
array [object {2}]
成功的列表
示例
{
"msg": "string",
"code": 0,
"data": {
"fail_list": [
{
"index": "string",
"error_msg": "string",
"error_code": 0
}
],
"success_list": [
{
"index": 0,
"history_id": "string"
}
]
}
}
修改于 2025-01-15 06:27:51