- 营销中心
- 一期接口文档
- 二期接口文档
- 营销cms
- 付费会员赢好礼
- 活动
- 微信券
- 百度券
- 优惠券兑换任务
- 券
- 营销短链
- 寄件有礼活动通知会员团
- 寄件有礼活动通知会员团 Copy
- 上传
- 万象平台
- 一期接口文档
- 二期接口文档
- 三期接口文档
- 88周年庆
- 导出
- 补发券
- 回收券
- 排行活动
- 优惠券兑换任务
- 人群圈选
- 用户领取与使用限制相关接口
- 微信券
- 公共接口
- 中止/恢复活动POST
- 百度OpenAPI
- 微信OpenAPI
更新推广活动接口
测试中
POST
/ypc/vientiane/activity/toUpdatePopularizeActivity
请求参数
Cookie 参数
JSESSIONID
string
可选
示例值:
M2VmNzE4ZTEtNDViNy00NTllLTg3YmYtNGUxZThhNTE4M2Qx
Body 参数application/json
appKey
string
必需
operator
string
必需
operatorOrgId
string
必需
operatorOrgType
string
必需
data
object
必需
id
integer
必需
activityDescription
string
必需
activityName
string
必需
activityType
string
必需
businessSystemId
string
必需
startTime
string
必需
endTime
string
必需
rules
array [object {3}]
必需
goodsList
array [object {3}]
必需
popularizeInfo
object
必需
示例
{
"appKey": "1001",
"operator": "fb1",
"operatorOrgId": "111",
"operatorOrgType": "111",
"id": 1572211513659524288,
"activityDescription": "3成长会员开屏推广改",
"activityName": "龚菡琪屏推广改",
"activityType": "POPULARIZE",
"businessSystemId": "expressBusiness",
"startTime": "2021-05-16 19:30:00",
"endTime": "2021-05-30 16:35:00",
"rules": [
{
"ruleTemplateId": 146545211853033092,
"ruleInstanceDesc": "测试",
"ruleDetails": [
{
"ruleDictCode": "allow_app",
"descrption": "允许的业务端",
"ruleDetailValue": "wxapp"
}
]
}
],
"popularizeInfo": {
"popularizeContent": {
"popularizeType": "coupon",
"contentInfo": {
"url": "",
"targetId": "11569221203739388,146545211853030615"
}
},
"pushUserType": "0",
"pushUserTag": "",
"popularizePosition": "主页",
"pushFrequency": "1",
"pushTimes": "1",
"pushUserTotalTimes": "1",
"clickTimes": "1",
"clickUserTotalTimes": "1"
}
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/ypc/vientiane/activity/toUpdatePopularizeActivity' \
--header 'Content-Type: application/json' \
--data-raw '{
"appKey": "1001",
"operator": "fb1",
"operatorOrgId": "111",
"operatorOrgType": "111",
"id": 1572211513659524288,
"activityDescription": "3成长会员开屏推广改",
"activityName": "龚菡琪屏推广改",
"activityType": "POPULARIZE",
"businessSystemId": "expressBusiness",
"startTime": "2021-05-16 19:30:00",
"endTime": "2021-05-30 16:35:00",
"rules": [
{
"ruleTemplateId": 146545211853033092,
"ruleInstanceDesc": "测试",
"ruleDetails": [
{
"ruleDictCode": "allow_app",
"descrption": "允许的业务端",
"ruleDetailValue": "wxapp"
}
]
}
],
"popularizeInfo": {
"popularizeContent": {
"popularizeType": "coupon",
"contentInfo": {
"url": "",
"targetId": "11569221203739388,146545211853030615"
}
},
"pushUserType": "0",
"pushUserTag": "",
"popularizePosition": "主页",
"pushFrequency": "1",
"pushTimes": "1",
"pushUserTotalTimes": "1",
"clickTimes": "1",
"clickUserTotalTimes": "1"
}
}'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{}
修改于 2021-07-28 05:30:57