券项目查询
POST
/fast-service/v1/0.0/api/coupon/project/get
卡券场景
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api-vpjq75s2e4.kylin.shuyun.com/fast-service/v1/0.0/api/coupon/project/get' \
--header 'Authorization;' \
--header 'X-Caller-Service: ' \
--header 'X-Caller-sign: ' \
--header 'X-Caller-Timestamp: ' \
--header 'X-Caller-Sign: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"bizCode": "CTFCN",
"requestChannel": "WX",
"requestSystem": "WX",
"transactionId": "TX2024030490569",
"projectId": "deu2hznf",
"useCache": true
}'
响应示例响应示例
{
"success": true,
"code": "000000",
"message": "成功",
"data": {
"includeShops": null,
"excludeShops": null,
"includeGoods": null,
"excludeGoods": null,
"id": "deu2hznf",
"branch": "deu2hznf",
"title": "王乾测试资格券-注册好礼",
"kind": "",
"campaignTitle": "王乾测试资格券",
"description": null,
"status": "RELEASED",
"restrict": null,
"grantRestrict": {
"startAt": "2025-01-01 16:03:29",
"endAt": "2025-03-01 16:03:34",
"platformsRef": null,
"invokeNum": null,
"invokeNumByUserPerDay": null,
"invokeNumByPerDay": null
},
"useRestrict": {
"shopsRefType": null,
"shopsRef": null,
"platformsRef": null,
"goodsRefType": null,
"goodsRef": null,
"startAt": "2025-01-01 16:03:49",
"endAt": "2025-03-01 16:03:56",
"invokeNumByUserPerDay": null,
"wait": null,
"timeType": "FIXED_TIME",
"timeCycle": null
},
"cancelUseRestrict": {
"invokeNum": 1,
"invokeNumByUserPerDay": null,
"startAt": "2025-01-01 16:04:00",
"endAt": "2025-03-01 16:04:06"
},
"updateAt": "2025-01-09 10:13:05",
"maxQuantity": 100,
"useCountRestrict": 1,
"transferable": null,
"type": "RegisterGift",
"discount": null,
"exchange": {
"goods": "5",
"num": null,
"maxPerGoods": null
},
"maxOverlayNum": null,
"combinationEnabled": false,
"grantedCount": 1,
"usedCount": 1,
"reminderBeforeExpirationEnable": true,
"reminderBeforeExpiration": {
"year": null,
"quarter": null,
"month": null,
"week": null,
"day": 7,
"hour": null,
"minute": null,
"second": null
},
"effectPeriod": {
"type": "RELATIVE_TIME",
"fixed": null,
"relatives": [
{
"scene": "activate",
"duration": {
"year": null,
"quarter": null,
"month": null,
"week": null,
"day": null,
"hour": null,
"minute": null,
"second": 0
},
"toDayBegin": false,
"toDayEnd": null,
"fixedPart": null
}
]
},
"expiredPeriod": {
"type": "RELATIVE_TIME",
"fixed": null,
"relatives": [
{
"scene": "grant",
"duration": {
"year": null,
"quarter": null,
"month": 1,
"week": null,
"day": null,
"hour": null,
"minute": null,
"second": null
},
"toDayBegin": null,
"toDayEnd": false,
"fixedPart": null
}
]
},
"template": "deyc9o1r",
"codeMaker": "3rwu3e",
"effectRestrict": null,
"expireRestrict": null,
"previous": "snmg9cex",
"program": "dmcirekx",
"subOrderShareDiscount": null,
"combinationType": "NO_OVERLAY",
"storeDirectDistribution": null,
"transferRestrict": null,
"transferPeriod": null,
"weiMob": null,
"weChatPayCouponStocks": null,
"couponCost": null,
"positivePriceGoods": null,
"payBenefit": null,
"storeLimitNum": null,
"orderDeductList": null,
"materialImage": null,
"createNow": false,
"activateNow": false,
"subject": "dm3dgd27",
"benefitGrade": "Tier0",
"fqn": "benefit.deu2hznf",
"approveBy": null,
"builtIn": false,
"insertAt": "2025-01-09 10:13:05",
"_i18nPayload": {
"title": {
"zh-CN": "王乾测试资格券-注册好礼"
},
"campaignTitle": {
"zh-CN": "王乾测试资格券"
},
"description": {}
},
"available": true,
"rejectAt": null,
"annotations": {
"exchange.goodsselectorValueText": "已选中 1 条数据"
},
"archiveBy": null,
"explanation": "王乾测试资格券补充说明",
"offlineAffectHistory": null,
"giveAway": null,
"templateSnapshotId": "s74m1dra",
"codeExtOn": false,
"ifPopup": true,
"from": null,
"statusOfApprove": null,
"archiveAt": null,
"statusOfUse": "RELEASED",
"module": "benefit",
"submitAt": null,
"pictureUrl": "http://content-management.shuyun.com/ad7ac8d0-fc53-4c30-b305-fb914ca550bc.png",
"benefitGroup": "MemberGifts",
"extSet": "benefit.project",
"tags": null,
"statusOfEdit": "RELEASED",
"domain": "benefit",
"deleteBy": null,
"operationType": null,
"since": "1.0",
"availableAnonymously": null,
"code": "deu2hznf",
"submitBy": null,
"origin": "deu2hznf",
"displayPriority": 1,
"orgSystemCode": "0-",
"directory": null,
"releaseAt": "2025-01-09 10:13:05",
"secretOn": null,
"createAt": "2025-01-08 17:40:58",
"updateBy": "wangqian",
"audit": {
"createAt": null,
"createBy": null,
"createById": null,
"releaseAt": "2025-01-09 10:13:05",
"releaseBy": "wangqian",
"releaseById": null,
"offlineAt": null,
"offlineBy": null,
"offlineById": null,
"onlineAt": null,
"onlineBy": null,
"onlineById": null,
"pauseAt": null,
"pauseBy": null,
"pauseById": null,
"resumeAt": null,
"resumeBy": null,
"resumeById": null,
"archiveAt": null,
"archiveBy": null,
"archiveById": null,
"deleteAt": null,
"deleteBy": null,
"deleteById": null,
"submitAt": null,
"submitBy": null,
"submitById": null,
"approveAt": null,
"approveBy": null,
"approveById": null,
"rejectAt": null,
"rejectBy": null,
"rejectById": null,
"enableAt": null,
"enableBy": null,
"enableById": null,
"disableAt": null,
"disableBy": null,
"disableById": null
},
"displayEndTime": "2025-03-31T08:02:29.000Z",
"approveProcessId": null,
"product": "deyc9o1r",
"dataVersion": 0,
"deleteAt": null,
"releaseVersion": null,
"approveAt": null,
"displayStartTime": "2025-01-01T08:02:23.000Z",
"releaseBy": "wangqian",
"rejectBy": null,
"updateById": "67",
"target": null,
"createBy": "wangqian",
"benefitDesc": "王乾测试资格券权益描述\n",
"createById": "67",
"approveProcessInstanceId": null,
"privilegeType": null,
"freightDiscountType": null
}
}
请求参数
Header 参数
Authorization
string
必需
默认值:
Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJicmFuY2hfMzgxMCIsImF1ZCI6InNtYXJ0X3BvcnRhbF91YXQiLCJpc3MiOiJzc28iLCJpcF9hZGRyZXNzIjoiMTAuMjAwLjE4MC43NiIsImV4cCI6MTczOTc5ODIzMCwiYnJhbmNoIjoiMzgxMCIsImlhdCI6MTczOTc5MTAzMH0.jqwTnQ0ah3k94Yjpn7hw91QtmKwsvXhjyibZpXDrGifaBcvzPdz8MjCg66FUohyKTS4ciZILl6xXJ5a1pQ_iIg
X-Caller-Service
string
可选
默认值:
{{caller}}
X-Caller-sign
string
可选
默认值:
{{sign}}
X-Caller-Timestamp
string
可选
默认值:
{{currentTime}}
X-Caller-Sign
string
网关签名
默认值:
{{sign}}
Body 参数application/json