GetCouponInfo » 이력 » 버전 5
이름없음, 2021/06/10 04:59
| 1 | 4 | 이름없음 | h2(wiki-class-auto-cursor-target#wiki-id-StoreServerCouponResolver-getCouponInfo). *GetCouponInfo* |
|---|---|---|---|
| 2 | 1 | 이름없음 | |
| 3 | * 쿠폰에 대한 정보 조회 |
||
| 4 | |||
| 5 | *CouponInfoRequest* |
||
| 6 | |||
| 7 | 2 | 이름없음 | |_. field |_. type |_. description |_. note | |
| 8 | 5 | 이름없음 | | command | String | Command 종류 | 값: infoCoupon | |
| 9 | 2 | 이름없음 | | did | String | URL 요청한 사용자 did | | |
| 10 | | TransactionId | String | 쿠폰Id | | |
||
| 11 | 1 | 이름없음 | |
| 12 | 2 | 이름없음 | p(wiki-class-auto-cursor-target). *CouponInfoResponse* |
| 13 | 1 | 이름없음 | |
| 14 | 2 | 이름없음 | |_. field |_. type |_. description |_. note | |
| 15 | | result | List<CouponInfoResult> | kt에서 전달받은 쿠폰 정보 리스트 | | |
||
| 16 | 5 | 이름없음 | | command | String | 응답 Command 종류 | 값: infoCoupon | |
| 17 | 1 | 이름없음 | |
| 18 | 2 | 이름없음 | p(wiki-class-auto-cursor-target). *CouponInfoResult* |
| 19 | 1 | 이름없음 | |
| 20 | 2 | 이름없음 | |_. field |_. type |_. description |_. note | |
| 21 | | couponInfoList | List<CouponInfo> | 쿠폰 상세정보 리스트 | | |
||
| 22 | | resCode | String | KT 응답 코드 | | |
||
| 23 | | resMsg | String | KT 응답 메세지 | | |
||
| 24 | 1 | 이름없음 | |
| 25 | 2 | 이름없음 | p(wiki-class-auto-cursor-target). *CouponInfo* |
| 26 | 1 | 이름없음 | |
| 27 | 2 | 이름없음 | |_. field |_. type |_. description |_. note | |
| 28 | | brandNM | String | | | |
||
| 29 | | goodsCd | String | | | |
||
| 30 | | cnsmPriceAmt | String | | | |
||
| 31 | | coorecDtm | String | | | |
||
| 32 | | goodsNmmmsBrandThumIng | String | | | |
||
| 33 | | pinStatusCd | String | | | |
||
| 34 | | pinStatusNm | String | | | |
||
| 35 | | recverTelNo | String | | | |
||
| 36 | | sellPriceAmt | String | | | |
||
| 37 | | sendBasicCd | String | | | |
||
| 38 | | sendRstCd | String | | | |
||
| 39 | | sendRstMsg | String | | | |
||
| 40 | | sendStatusCd | String | | | |
||
| 41 | | senderTelNo | String | | | |
||
| 42 | | validPrdEndDt | String | | | |
||
| 43 | |||
| 44 | 3 | 이름없음 | --- |
| 45 | |||
| 46 | 2 | 이름없음 | p(wiki-class-auto-cursor-target). *Request Example* |
| 47 | |||
| 48 | 1 | 이름없음 | <pre><code class="java"> |
| 49 | query { |
||
| 50 | getCouponInfo(couponInfoRequest : { |
||
| 51 | 2 | 이름없음 | command : "infoCoupon" |
| 52 | did : "G5rw9qAMbozGxySHkMaztD" |
||
| 53 | TransactionId : "BC20210419rI1iaxnlzzcuv5d" |
||
| 54 | 1 | 이름없음 | }) { |
| 55 | result { |
||
| 56 | couponInfoList { |
||
| 57 | brandNm |
||
| 58 | correcDtm |
||
| 59 | } |
||
| 60 | resMsg |
||
| 61 | resCode |
||
| 62 | } |
||
| 63 | } |
||
| 64 | } |
||
| 65 | </code></pre> |
||
| 66 | |||
| 67 | 2 | 이름없음 | p(wiki-class-auto-cursor-target). *Response Example* |
| 68 | 1 | 이름없음 | |
| 69 | <pre><code class="java"> |
||
| 70 | { |
||
| 71 | "data": { |
||
| 72 | "getCouponInfo": { |
||
| 73 | "result": [ |
||
| 74 | { |
||
| 75 | "couponInfoList": [ |
||
| 76 | { |
||
| 77 | "brandNm": "GS25", |
||
| 78 | 2 | 이름없음 | "correcDtm": "20210419" |
| 79 | 1 | 이름없음 | } |
| 80 | ], |
||
| 81 | "resMsg": "정상처리", |
||
| 82 | 2 | 이름없음 | "resCode": "0000" |
| 83 | 1 | 이름없음 | } |
| 84 | ] |
||
| 85 | } |
||
| 86 | } |
||
| 87 | } |
||
| 88 | </code></pre> |