Actions
GetCouponInfo » 이력 » 개정판 1
개정판 1/10
| 다음 »
이름없음, 2021/06/03 05:01
getCouponInfo¶
- 쿠폰에 대한 정보 조회
CouponInfoRequest
field |
type |
note |
description |
---|---|---|---|
command | String | Command 종류 | |
did | String | URL 요청한 사용자 did | |
TransactionId | String | 쿠폰Id |
CouponInfoResponse
field |
type |
note |
description |
---|---|---|---|
result | List<CouponInfoResult> | kt에서 전달받은 쿠폰 정보 리스트 | |
command | String | 응답 Command 종류 |
CouponInfoResult
field |
type |
note |
description |
---|---|---|---|
couponInfoList | List<CouponInfo> | CouponInfo - 쿠폰 상세 정보(필드는 스키마 참고) | 쿠폰 상세정보 리스트 |
resCode | String | KT 응답 코드 | |
resMsg | String | KT 응답 메세지 |
Request Example
query {
getCouponInfo(couponInfoRequest : {
command : "infoCoupon"
did : "G5rw9qAMbozGxySHkMaztD"
TransactionId : "BC20210419rI1iaxnlzzcuv5d"
}) {
result {
couponInfoList {
brandNm
correcDtm
}
resMsg
resCode
}
}
}
Response Example
{
"data": {
"getCouponInfo": {
"result": [
{
"couponInfoList": [
{
"brandNm": "GS25",
"correcDtm": "20210419"
}
],
"resMsg": "정상처리",
"resCode": "0000"
}
]
}
}
}
이름없음이(가) 약 4년 전에 변경 · 1 revisions