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