文档
测试

查询活动详情

POST
http://crm.houcaller.com/htest/openapi/v1/getActByThemeId

请求参数

application/json
参数名
类型
描述
必填
id
String
活动主键id
必填

响应参数

参数名
类型
描述
必填
msg
string
示例:操作成功
必填
code
int
示例:0
必填
data
object
数据字典
必填
placedNum
int
包场人数
必填
begDate
string
开始日期
必填
createTime
string
数据创建时间
必填
endDate
string
结束日期
必填
price
int
价格
必填
name
string
活动名称
必填
id
string
主键
必填
minNum
int
最少成团数
必填
status
string
生效状态 1生效 0不生效
必填
actUrl
string
活动图(小图)链接
必填
bannerUrl
string
banner图链接
必填
detailUrl
string
详情图链接
必填
closeDay
int
截止天数 提前几天截止
必填
closeTime
string
截止时间 示例:15:00
必填
actThemeCpns
array
卡券列表
必填
cpnName
string
券名称
必填
sendType
string
赠送类型(堂食券、商城券、豪币)
必填
themeId
string
活动主题ID
必填
cpnId
string
示例:M2LG5K6U7AQ25
必填
id
string
示例:M3TE2RL8A0013
必填
sendNum
int
数量
必填
actType
string
活动类型 0:人次活动 1:场次活动
必填

说明 / 示例

<pre>{ "msg": "操作成功", "code": 0, "data": { "endDate": "2022-12-31", "closeDay": 1, "sort": 1, "minNum": 1, "placedNum": 30, "actThemeCpns": [ { "cpnName": "VIP春日约惠三人餐", "sendType": "0", "themeId": "100001", "cpnId": "M2LG5K6U7AQ25", "id": "M3TE2RL8A0013", "sendNum": 2 }, { "cpnName": "VIP问卷调研满100减10券", "sendType": "0", "themeId": "100001", "cpnId": "M32A161HF5J12", "id": "M3TE2RL8A0020", "sendNum": 2 }, { "cpnName": "极佳级西冷牛排团购满4880元享9折优惠", "sendType": "1", "themeId": "100001", "cpnId": "113288", "id": "M3TE2ROBD0039", "sendNum": 2 }, { "cpnName": "极佳级西冷牛排团购满9760元享8折优惠", "sendType": "1", "themeId": "100001", "cpnId": "716913", "id": "M3TE2ROBD0040", "sendNum": 2 }, { "cpnName": "【社群】春节抽奖-牛排85折券2", "sendType": "0", "themeId": "100001", "cpnId": "M1JB04KC2K5E8", "id": "M3TE2RROL0059", "sendNum": 2 }, { "cpnName": "【社群】春节抽奖-牛排85折券1", "sendType": "0", "themeId": "100001", "cpnId": "M1JB03OFQK5D0", "id": "M3TE2RROL0065", "sendNum": 2 } ], "begDate": "2022-01-01", "createTime": "2022-03-16 13:40:05", "price": 99, "closeTime": "15:00", "lockVersion": 0, "name": "小小牛排师训练营", "id": "100001", "status": "1", "actType": "0" } }