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