- 营销中心
- 一期接口文档
- 二期接口文档
- 营销cms
- 付费会员赢好礼
- 活动
- 微信券
- 百度券
- 优惠券兑换任务
- 券
- 营销短链
- 寄件有礼活动通知会员团GET
- 寄件有礼活动通知会员团 CopyGET
- 上传POST
- 万象平台
- 一期接口文档
- 二期接口文档
- 三期接口文档
- 88周年庆
- 导出
- 补发券
- 回收券
- 排行活动
- 优惠券兑换任务
- 人群圈选
- 用户领取与使用限制相关接口
- 微信券
- 公共接口
- 中止/恢复活动POST
- 百度OpenAPI
- 微信OpenAPI
导出优惠券兑换码
测试中
POST
/ypc/vientiane/export/exchangeInstances
请求参数
Cookie 参数
JSESSIONID
string
必需
示例值:
NDJhYzcwZGUtYmRhNS00ZDFmLTg3OTctN2E4MGNmMGZhNWIy
Body 参数application/json
appKey
string
必需
operator
string
必需
operatorOrgId
string
必需
operatorOrgType
string
必需
id
integer | null
兑换码id
code
string | null
用户id/手机号
exchangeId
string
兑换码code
exchangeName
string | null
兑换名称
mobilePhone
string | null
手机号
exchangeStatus
integer | null
兑换码状态
exchangeStartDate
string | null
兑换时间左侧零界点
exchangeEndTime
string | null
兑换时间右侧零界点
示例
{
"appKey": "dolore tempor",
"operator": "ut reprehenderit incididunt proident est",
"operatorOrgId": "11",
"operatorOrgType": "velit Ut anim",
"exchangeId": "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/export/exchangeInstances' \
--header 'Cookie: JSESSIONID=NDJhYzcwZGUtYmRhNS00ZDFmLTg3OTctN2E4MGNmMGZhNWIy' \
--header 'Content-Type: application/json' \
--data-raw '{
"appKey": "dolore tempor",
"operator": "ut reprehenderit incididunt proident est",
"operatorOrgId": "11",
"operatorOrgType": "velit Ut anim",
"exchangeId": "1"
}'
返回响应
🟢200成功
application/json
Body
appKey
string
appKey
operator
string
操作人
operatorOrgType
string
操作人所属组织类型
operatorOrgId
string
操作人所属组织Id
id
string
兑换码id
code
integer
兑换码code
exchangeId
string
兑换批次id
exchangeName
string
兑换名称
mobilePhone
string
手机号
exchangeEndTime
string
状态 1-未领取、2-已领取、3-已扣减
exchangeStatus
integer
兑换时间左侧零界点
exchangeStartTime
string
兑换时间右侧零界点
示例
{
"success": true,
"code": "200",
"message": null,
"data": 4
}
修改于 2022-04-18 07:55:24