GetCouponInfo » 이력 » 개정판 6
개정판 5 (이름없음, 2021/06/10 04:59) → 개정판 6/10 (이름없음, 2021/06/10 05:26)
h2(wiki-class-auto-cursor-target#wiki-id-StoreServerCouponResolver-getCouponInfo). *GetCouponInfo*
* 쿠폰에 대한 정보 조회
h2. 요청 필드
<pre><code class="java">
getCouponInfo(
couponInfoRequest: CouponInfoRequest
): CouponInfoResponse
</code></pre>
*CouponInfoRequest*
|_. field |_. type |_. description |_. note |
| command | String | Command 종류 | 값: infoCoupon |
| did | String | URL 요청한 사용자 did | |
| TransactionId | String | 쿠폰Id | |
p(wiki-class-auto-cursor-target). *CouponInfoResponse*
|_. field |_. type |_. description |_. note |
| result | List<CouponInfoResult> | kt에서 전달받은 쿠폰 정보 리스트 | |
| command | String | 응답 Command 종류 | 값: infoCoupon |
p(wiki-class-auto-cursor-target). *CouponInfoResult*
|_. field |_. type |_. description |_. note |
| couponInfoList | List<CouponInfo> | 쿠폰 상세정보 리스트 | |
| resCode | String | KT 응답 코드 | |
| resMsg | String | KT 응답 메세지 | |
p(wiki-class-auto-cursor-target). *CouponInfo*
|_. field |_. type |_. description |_. note |
| brandNM | String | | |
| goodsCd | String | | |
| cnsmPriceAmt | String | | |
| coorecDtm | String | | |
| goodsNmmmsBrandThumIng | String | | |
| pinStatusCd | String | | |
| pinStatusNm | String | | |
| recverTelNo | String | | |
| sellPriceAmt | String | | |
| sendBasicCd | String | | |
| sendRstCd | String | | |
| sendRstMsg | String | | |
| sendStatusCd | String | | |
| senderTelNo | String | | |
| validPrdEndDt | String | | |
---
p(wiki-class-auto-cursor-target). *Request Example*
<pre><code class="java">
query {
getCouponInfo(couponInfoRequest : {
command : "infoCoupon"
did : "G5rw9qAMbozGxySHkMaztD"
TransactionId : "BC20210419rI1iaxnlzzcuv5d"
}) {
result {
couponInfoList {
brandNm
correcDtm
}
resMsg
resCode
}
}
}
</code></pre>
p(wiki-class-auto-cursor-target). *Response Example*
<pre><code class="java">
{
"data": {
"getCouponInfo": {
"result": [
{
"couponInfoList": [
{
"brandNm": "GS25",
"correcDtm": "20210419"
}
],
"resMsg": "정상처리",
"resCode": "0000"
}
]
}
}
}
</code></pre>