프로젝트

일반

사용자정보

Actions

GetCouponInfo

  • 쿠폰에 대한 정보를 조회합니다
getCouponInfo(
couponInfoRequest: CouponInfoRequest
): CouponInfoResponse

CouponInfoRequest

field type description note
command String Command 종류 값: infoCoupon
did String URL 요청한 사용자 did  
TransactionId String 쿠폰Id  

CouponInfoResponse

field type description note
result List<CouponInfoResult> kt에서 전달받은 쿠폰 정보 리스트  
command String 응답 Command 종류 값: infoCoupon

CouponInfoResult

field type description note
couponInfoList List<CouponInfo> 쿠폰 상세정보 리스트  
resCode String KT 응답 코드  
resMsg String KT 응답 메세지  

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    

Request Example

query {
  getCouponInfo(couponInfoRequest : {
    command : "infoCoupon" 
    did : "G5rw9qAMbozGxySHkMaztD" 
    TransactionId : "BC20210419rI1iaxnlzzcuv5d" 
  }) {
    result {
      couponInfoList {
        brandNm
        correcDtm
      }
      resMsg
      resCode
    }
  }
}

Response Example

{
  "data": {
    "getCouponInfo": {
      "result": [
        {
          "couponInfoList": [
            {
              "brandNm": "GS25",
              "correcDtm": "20210419" 
            }
          ],
          "resMsg": "정상처리",
          "resCode": "0000" 
        }
      ]
    }
  }
}

이름없음이(가) 약 4년 전에 변경 · 10 revisions

클립보드 이미지 추가 (최대 크기: 97.7 MB)