添加活动

简要描述
请求URL
  • {{devAddr}}/activity/addActivity
请求方式
  • post
Header
header 必选 类型 说明
Content-Type string application/json
请求参数示例
{"activityCode":"","activityName":"测试活动","startDate":"2021-01-01 10:00:00","endDate":"2021-12-31 22:59:78","state":"1","departmentId":"402890b97d4ada02017d4ada28820000","departmentName":"测试部门0011","activitySource":"YXPT","activityType":"101","activityImg":"","activityImg1":"","activityImg2":"","sendMes":"0","mesContent":"","qrType":"1","payErrCanDel":"0","qrBasis":"1","qrAddMes":"","qrAddMesUrl":"","buyLimitType":"1","buyLimitCycle":"4","buyLimitCount":"2","h5Mark":"","h5Url":"","succUrl":"","activityRemark":"","activityDesc":"","activityDesc1":"","activityDesc2":""}
json字段说明
字段名 必选 类型 说明
activityCode string 活动code-库唯一
activityName string 活动名称
startDate string 活动开始时间(2021-11-23 15:35:11)
endDate string 活动结束时间(2021-11-23 15:35:17)
state string 状态(0:停用,1:启用)
departmentId string 部门id
departmentName string 部门名称
activitySource string 活动来源(ZHRS:中行荣数,YXPT:营销平台)
activityType string 活动类型(101:仅点击,102:充值,201:购买)
activityImg string 活动图片
activityImg1 string 活动图片—备用
activityImg2 string 活动图片—备用
sendMes string 发送短信(0:不发送,1:发送)
mesContent string 短信内容
qrType string 二维码类型(0:静态,1:动态,2:动态两分钟过期)
payErrCanDel string 支付失败是否可被有惠删除(0:不可,1可删除)
qrBasis string 二维码生成依据(1:活动,2:产品)
qrRule string 先填写信息还是先生成二维码(0:先生成二维码,1:先填客户信息, 2:补录信息)
qrAddMesUrl string 填写信息的地址
buyLimitType string 购买限制类型(1:活动,2:产品)
buyLimitCycle string 购买限制周期(1每日,2每周,3每月,4总量)
buyLimitCount string 限制购买数量
h5Mark string h5标识
h5Url string h5页面地址
succUrl string 成功的回调地址
activityRemark string 活动备注
activityDesc string 活动描述
activityDesc1 string 活动描述-备用
activityDesc2 string 活动描述-备用
sendMesChannel string 如发短信的短信渠道标识
appointOrderNo string 指定订单号(0:不指定,1:指定)
返回示例
{
  "rspCode": "000",
  "rspDesc": "success"
}
备注