getCreditHistoryList
    • PDF

    getCreditHistoryList

    • PDF

    Article Summary

    개요

    크레딧 이력 리스트를 조회합니다.

    요청

    요청 파라미터

    파라미터명필수 여부타입제약 사항설명
    pageNoNoInteger페이지 번호
    pageSizeNoInteger- 페이지 사이즈
    default : 1000
    max : 1000
    discountNoList.NNoList<String>조회할 크레딧 번호 입력, 미 입력 시 전체 크레딧의 사용 이력 노출
    크레딧 번호는 getDiscountList API에서 확인 가능
    isOrganizationNoBoolean- Organization 계정 통합 조회 여부
    (Organization 마스터일 경우 사용 가능)
    isOrganization, isPartner가 모두 true일 경우 에러가 응답됨
    isPartnerNoBoolean- 파트너계정 조회 여부
    (파트너 대표일 경우 사용 가능)
    isOrganization, isPartner가 모두 true일 경우 에러가 응답됨
    memberNoListNoList<String>회원번호 리스트
    (Organization 마스터 또는 파트너 대표 계정일 경우 사용 가능)
    startMonthNoString조회 시작 월 (yyyyMM)
    <예시> 202001
    endMonthNoString조회 종료 월 (yyyyMM)
    <예시> 202001
    responseFormatTypeNoString- 응답 결과의 포맷 타입
    Options : xml | json
    Default : xml

    응답

    응답 바디

    예시

    요청 예시

    GET {API_URL}/discount/getCreditHistoryList
    ?discountNoList.1=793
    &discountNoList.2=68
    

    응답 예시

    <?xml version="1.0" encoding="UTF-8"?>
    <getCreditHistoryList>
      <requestId>a78f6d1b-****-****-****-50966324f793</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>1</totalRows>
      <creditHistoryList>
        <creditHistory>
          <memberNo>1***9</memberNo>
          <credit>
            <discountNo>6383</discountNo>
            <creditName>credit-discount-test</creditName>
            <receivedCredit>30000</receivedCredit>
            <remainingCredit>0</remainingCredit>
            <validityStartMonth>202212</validityStartMonth>
            <validityEndMonth>202212</validityEndMonth>
            <creditType>
              <code>FCHG</code>
              <codeName>Fee-Charging</codeName>
            </creditType>
            <eligibleProductDemandTypeList>
              <productDemandType>
                <code>SCMTR</code>
                <codeName>Security Monitoring</codeName>
                <regionCode>KR</regionCode>
              </productDemandType>
              <productDemandType>
                <code>GDNS</code>
                <codeName>Global DNS</codeName>
                <regionCode>COM</regionCode>
              </productDemandType>
            </eligibleProductDemandTypeList>
            <payCurrency>
              <code>KRW</code>
              <codeName>South Korea Won</codeName>
            </payCurrency>
          </credit>
          <creditUseHistory>
            <creditUseHistory>
              <useMonth>202212</useMonth>
              <productDemandTypeCode>SCMTR</productDemandTypeCode>
              <productDemandType>
                <code>SCMTR</code>
                <codeName>Security Monitoring</codeName>
                <regionCode>KR</regionCode>
              </productDemandType>
              <unusedCredit>30000</unusedCredit>
              <usedCredit>30000</usedCredit>
              <remainingCredit>0</remainingCredit>
            </creditUseHistory>
          </creditUseHistory>
        </creditHistory>
      </creditHistoryList>
    </getCreditHistoryList>
    

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

    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.