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