{
"appKey": "12341",
"operatorOrgId": "123456",
"operatorOrgType": "",
"operator": "tyl",
"data": {
"id":130116568143121574
}
}
curl --location --request POST '/promotioncenter/activity/cancel' \
--header 'Content-Type: application/json' \
--data-raw '{
"appKey": "12341",
"operatorOrgId": "123456",
"operatorOrgType": "",
"operator": "tyl",
"data": {
"id":130116568143121574
}
}'
{
"consumeType": 1,消费类型
"givingCondition": 3,赠送条件
"givingMaxCount": 1,最大奖励次数
"rewardInfo": {
"issuePolicy": "",发放策略
"rewardDetailList": [ 奖励列表
{
"id": "1241312",
"couponType": "满减券",
"worth": "30",
"name": "3元满减券",
"amount": 2,
"rewardType": 1
}
]
}
}
{
"inviterConfigInfo": {
"rewardModel": 1,
"rewardInfoList": [
{
"issuePolicy": "",
"rewardLines": 3,
"rewardDetailList": [
{
"id": "2342342",
"couponType": "满减券",
"worth": "30",
"name": "3元满减券",
"amount": 3,
"rewardType": 1
}
],
"rewardRangeInfoList": [
{
"order": 1,
"minLines": 0,
"maxLines": 3,
"rewardIds": [
"2342342",
"5455467546"
]
},
{
"order": 2,
"minLines": 3,
"maxLines": 6,
"rewardIds": [
"23423423",
"54554675462"
]
}
]
}
]
},
"inviteeConfigInfo":{
"rewardSwitch":false,
"onlyOne":true,
"rewardInfo":{
"issuePolicy":"",
"rewardDetailList":[
{
"id":"2342342",
"couponType":"满减券",
"worth":"30",
"name":"3元满减券",
"amount":3,
"rewardType":1
}
]
}
},
"backgroundInfo":{
"imgUrl":"www.baidu.com",
"color":"黑色"
},
"shareConfigInfo":{
"title":"领红包了",
"description":"描述",
"imgUrl":"www.baidu.com"
}
}
{
"inviterConfigInfo":{
"rewardModel":1,
"rewardInfoList":[
{
"issuePolicy":"",
"rewardLines":3,
"rewardDetailList":[
{
"id":"2342342",
"couponType":"满减券",
"worth":"30",
"name":"3元满减券",
"amount":3,
"rewardType":1
}
]
}
]
},
"inviteeConfigInfo":{
"rewardSwitch":false,
"onlyOne":true,
"rewardInfo":{
"issuePolicy":"",
"rewardDetailList":[
{
"id":"2342342",
"couponType":"满减券",
"worth":"30",
"name":"3元满减券",
"amount":3,
"rewardType":1
}
]
}
},
"backgroundInfo":{
"imgUrl":"www.baidu.com",
"color":"黑色"
},
"shareConfigInfo":{
"title":"领红包了",
"description":"描述",
"imgUrl":"www.baidu.com"
}
}
- inviterConfigInfo:邀请人配置;
- rewardModel:奖励模式
- rewardInfoList:奖励信息列表
- issuePolicy:发放策略:空 全部发放,1 随机一张,2随机两张,3 随机三张,以此类推
- rewardLines:满多少奖励,
- rewardDetailList:奖励明细
- id:奖励id:优惠券id,积分id
- couponType:类型:优惠券类型
- worth:价值,优惠券价值(当为满减券传值couponWorth,当为折扣券传值maxDiscountAmount),积分价值
- name:奖励名称
- amount:奖励数量
- rewardType:奖励类型:1 优惠券,2 积分,3 成长值
- rewardRangeInfoList:每满奖励范围配置
- order:排序号
- minLines:最小次数
- maxLines:最大次数
- rewardIds:奖励id列表(优惠券就是优惠券id列表)
- inviteeConfigInfo:被邀请人配置;
- rewardSwitch:奖励开关
- onlyOne:仅一次
- rewardInfo:奖励信息
- issuePolicy:发放策略:空 全部发放,1 随机一张,2随机两张,3 随机三张,以此类推
- rewardDetailList:奖励明细
- id:奖励id:优惠券id,积分id
- couponType:类型:优惠券类型
- worth:价值,优惠券价值(当为满减券传值couponWorth,当为折扣券传值maxDiscountAmount),积分价值
- name:奖励名称
- amount:奖励数量
- rewardType:奖励类型:1 优惠券,2 积分,3 成长值
- backgroundInfo:背景页设置
- imgUrl:图片url
- color:颜色
- shareConfigInfo:分享配置
- title:标题
- description:描述
- imgUrl:图片url
{
弹框
"dialogs": {
"title": "开屏",
"imgUrl": "http://www.baidu.com/dialogs",
"buttonText": "开心收下"
},
背景
"background": {
"imgUrl": "http://www.baidu.com/background",
"color": "黑色"
},
寄件按钮
"shipButton": {
"text": "寄件按钮",
"buttonColor": "red",
"fontColor": "red"
},
分享按钮
"shareButton": {
"buttonColor": "red",
"fontColor": "red"
},
奖励信息
"rewardInfo": {
"issuePolicy": "",
"rewardDetailList": [
{
"id": "1241312",
"couponType": "满减券",
"worth": "30",
"name": "3元满减券",
"amount": 2,
"rewardType": 1
}
]
}
}
{
"code": "string",
"message": null,
"data": {
"id": "string",
"code": "string",
"businessSystemId": "string",
"activityName": "string",
"activityType": "string",
"activityDescription": "string",
"activityStatus": "string",
"activityThemeId": "string",
"startTime": "string",
"endTime": "string",
"createTime": "string",
"modifyTime": "string",
"createBy": "string",
"modifyBy": "string",
"createOrgId": "string",
"createOrgType": "string",
"ruleInstanceList": [
{
"id": 0,
"ruleTemplateId": 0,
"name": "string",
"ruleInstanceDesc": "string",
"businessOrderType": 0,
"businessOrderId": 0,
"actionType": 0,
"createTime": "string",
"modifyTime": "string",
"createBy": "string",
"modifyBy": "string",
"ruleDetails": [
{
"id": 0,
"ruleInstanceId": 0,
"ruleDetailValue": "string",
"ruleDictType": "string",
"ruleDictCode": "string",
"createTime": "string",
"modifyTime": "string",
"createBy": "string",
"modifyBy": "string"
}
]
}
],
"prizeList": [
"string"
],
"rewardEventType": 0,
"additionalJson": {
"shareButton": {
"buttonColor": "string",
"fontColor": "string"
},
"background": {
"imgUrl": "string",
"color": "string"
},
"shipButton": {
"buttonColor": "string",
"text": "string",
"fontColor": "string"
},
"dialogs": {
"imgUrl": "string",
"buttonText": "string",
"title": "string"
}
},
"activityTypeName": "string",
"activityStatusName": "string"
},
"success": true
}