getDiscountList
    • PDF

    getDiscountList

    • PDF

    Article Summary

    개요

    할인 리스트를 조회합니다.

    요청

    요청 파라미터

    파라미터명필수 여부타입제약 사항설명
    pageNoNoInteger페이지 번호
    pageSizeNoInteger- 페이지 사이즈
    default : 1000
    max : 1000
    isOrganizationNoBoolean- Organization 계정 통합 조회 여부
    (Organization 마스터일 경우 사용 가능)
    isOrganization, isPartner가 모두 true일 경우 에러가 응답됨
    isPartnerNoBoolean- 파트너계정 조회 여부
    (파트너 대표일 경우 사용 가능)
    isOrganization, isPartner가 모두 true일 경우 에러가 응답됨
    memberNoListNoList<String>회원번호 리스트
    (Organization 마스터 또는 파트너 대표 계정일 경우 사용 가능)
    discountTypeCodeNoString할인 유형
    * 상품 할인: PRODUCT
    * 크레딧: CREDIT
    * 코인: COIN
    startMonthNoString최대 3개월 동시 조회 가능조회 시작 월 (yyyyMM)
    ex) 202001
    endMonthNoString최대 3개월 동시 조회 가능조회 마지막 월 (yyyyMM)
    ex) 202001
    isValidDiscountNoBoolean유효한 할인만 표시 여부 선택
    * 유효한 할인만 표시: true
    * 모든 할인 표시: false
    responseFormatTypeNoString- 응답 결과의 포맷 타입
    Options : xml | json
    Default : xml

    응답

    응답 바디

    예시

    요청 예시

    GET {API_URL}/discount/getDiscountList
    ?startMonth=202201
    &endMonth=202202
    

    응답 예시

    <?xml version="1.0" encoding="UTF-8"?>
    <getDiscountListResponse>
      <requestId>b797****-****-****-****-****6fab4b70</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>2</totalRows>
      <discountList>
        <discount>
          <memberNo>******</memberNo>
          <discountNo>54</discountNo>
          <discountType>
            <code>COIN</code>
            <codeName>Coin</codeName>
          </discountType>
          <discountName>계좌이체(농협)</discountName>
          <discountProcessMethod>
            <code>FXSUM</code>
            <codeName>Flat rate</codeName>
          </discountProcessMethod>
          <discountValue>100000</discountValue>
          <validityStartMonth>202007</validityStartMonth>
          <validityEndMonth>202307</validityEndMonth>
        </discount>
        <discount>
          <memberNo>******</memberNo>
          <discountNo>158</discountNo>
          <discountType>
            <code>COIN</code>
            <codeName>Coin</codeName>
          </discountType>
          <discountName>신용카드(TEST)</discountName>
          <discountProcessMethod>
            <code>FXSUM</code>
            <codeName>Flat rate</codeName>
          </discountProcessMethod>
          <discountValue>10000</discountValue>
          <validityStartMonth>202007</validityStartMonth>
          <validityEndMonth>202307</validityEndMonth>
        </discount>
      </discountList>
    </getDiscountListResponse>
    
    

    이 문서가 도움이 되었습니까?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.