- 营销中心
- 一期接口文档
- 二期接口文档
- 营销cms
- 付费会员赢好礼
- 活动
- 微信券
- 百度券
- 优惠券兑换任务
- 券
- 营销短链
- 寄件有礼活动通知会员团GET
- 寄件有礼活动通知会员团 CopyGET
- 上传POST
- 万象平台
- 一期接口文档
- 二期接口文档
- 三期接口文档
- 88周年庆
- 导出
- 补发券
- 回收券
- 排行活动
- 优惠券兑换任务
- 人群圈选
- 用户领取与使用限制相关接口
- 微信券
- 公共接口
- 中止/恢复活动POST
- 百度OpenAPI
- 微信OpenAPI
查询优惠券兑换码
开发中
POST
/ypc/vientiane/exchange/queryExchangeInstances
请求参数
Cookie 参数
JSESSIONID
string
必需
示例值:
MTRhOWFlNjYtZjhkOS00MjYwLWJlZWMtYTM5NmZhZjkwNmVh
Body 参数application/json
appKey
string
必需
operator
string
必需
operatorOrgId
string
必需
operatorOrgType
string
必需
id
string
兑换码id
code
string
兑换码code
exchangeId
string
兑换批次id
exchangeName
string
兑换名称
mobilePhone
string
手机号
exchangeStatus
integer
状态 1-未领取、2-已领取、3-已扣减
exchangeStartTime
string
兑换时间左侧零界点
exchangeEndTime
string
兑换时间右侧零界点
示例
{
"appKey": "laboris nulla anim",
"operator": "sint ut",
"operatorOrgId": "34",
"operatorOrgType": "culpa ut consequat et mollit",
"exchangeId": 86723753955141588,
"amount": 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/exchange/queryExchangeInstances' \
--header 'Cookie: JSESSIONID=MTRhOWFlNjYtZjhkOS00MjYwLWJlZWMtYTM5NmZhZjkwNmVh' \
--header 'Content-Type: application/json' \
--data-raw '{
"appKey": "laboris nulla anim",
"operator": "sint ut",
"operatorOrgId": "34",
"operatorOrgType": "culpa ut consequat et mollit",
"exchangeId": 86723753955141588,
"amount": 1
}'
返回响应
🟢200成功
application/json
Body
success
boolean
必需
code
string
必需
message
null
必需
data
object
必需
pageNum
integer
必需
pageSize
integer
必需
pageTotal
integer
必需
total
integer
必需
dataList
array [object {12}]
必需
示例
{
"success": true,
"code": "200",
"message": null,
"data": {
"pageNum": 1,
"pageSize": 10,
"pageTotal": 2,
"total": 14,
"dataList": [
{
"id": "34335110777301574",
"exchangeId": "86723753955141588",
"code": "inLjXsoFX2a30Yp",
"exchangeName": "兑换任务",
"mobilePhone": "",
"userId": null,
"exchangeStatus": 1,
"createTime": "2022-04-07 11:38:07",
"exchangeTime": null,
"modifyTime": null,
"createBy": null,
"modifyBy": null
},
{
"id": "29863841938567488",
"exchangeId": "86723753955141588",
"code": "yMuwQg9mC2s6TSQ",
"exchangeName": "兑换任务",
"mobilePhone": "",
"userId": null,
"exchangeStatus": 1,
"createTime": "2022-04-06 23:14:07",
"exchangeTime": null,
"modifyTime": null,
"createBy": null,
"modifyBy": null
},
{
"id": "29841595651119166",
"exchangeId": "86723753955141588",
"code": "oStBc1qfC2TDgHD",
"exchangeName": "兑换任务",
"mobilePhone": "",
"userId": null,
"exchangeStatus": 1,
"createTime": "2022-04-06 23:10:46",
"exchangeTime": null,
"modifyTime": null,
"createBy": null,
"modifyBy": null
},
{
"id": "29841595587945074",
"exchangeId": "86723753955141588",
"code": "qzouX1qfC24Ns7u",
"exchangeName": "兑换任务",
"mobilePhone": "",
"userId": null,
"exchangeStatus": 1,
"createTime": "2022-04-06 23:09:32",
"exchangeTime": null,
"modifyTime": null,
"createBy": null,
"modifyBy": null
},
{
"id": "27187886140378078",
"exchangeId": "86723753955141588",
"code": "qwerq",
"exchangeName": "兑换任务",
"mobilePhone": "",
"userId": null,
"exchangeStatus": 1,
"createTime": "2022-04-06 15:49:18",
"exchangeTime": null,
"modifyTime": null,
"createBy": null,
"modifyBy": null
},
{
"id": "27187886137811317",
"exchangeId": "86723753955141588",
"code": "wsx",
"exchangeName": "兑换任务",
"mobilePhone": "",
"userId": null,
"exchangeStatus": 1,
"createTime": "2022-04-06 15:49:18",
"exchangeTime": null,
"modifyTime": null,
"createBy": null,
"modifyBy": null
},
{
"id": "27187886135563688",
"exchangeId": "86723753955141588",
"code": "qwe",
"exchangeName": "兑换任务",
"mobilePhone": "",
"userId": null,
"exchangeStatus": 1,
"createTime": "2022-04-06 15:47:36",
"exchangeTime": null,
"modifyTime": null,
"createBy": null,
"modifyBy": null
},
{
"id": "27187886074711574",
"exchangeId": "86723753955141588",
"code": "qazz",
"exchangeName": "兑换任务",
"mobilePhone": "",
"userId": null,
"exchangeStatus": 1,
"createTime": "2022-04-06 15:47:36",
"exchangeTime": null,
"modifyTime": null,
"createBy": null,
"modifyBy": null
},
{
"id": "27174362812616688",
"exchangeId": "86723753955141588",
"code": "asdasdasdsa",
"exchangeName": "兑换任务",
"mobilePhone": "",
"userId": null,
"exchangeStatus": 1,
"createTime": "2022-04-06 15:44:26",
"exchangeTime": null,
"modifyTime": null,
"createBy": null,
"modifyBy": null
},
{
"id": "27174362755605088",
"exchangeId": "86723753955141588",
"code": "qweqweqwe",
"exchangeName": "兑换任务",
"mobilePhone": "",
"userId": null,
"exchangeStatus": 1,
"createTime": "2022-04-06 15:44:26",
"exchangeTime": null,
"modifyTime": null,
"createBy": null,
"modifyBy": null
}
]
}
}
修改于 2022-04-18 07:25:24