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