getCreditHistoryList
    • PDF

    getCreditHistoryList

    • PDF

    Article Summary

    Overview

    Get the credit history list.

    Requests

    Request parameters

    ParametersRequirement statusTypeRestrictionsDescription
    pageNoNoIntegerPage number
    pageSizeNoInteger- Page size
    default: 1000
    max: 1000
    discountNoList.NNoList<String>Enter the credit number to view, The usage history of all credits is displayed if no input is provided.
    The credit number can be found in the getDiscountList.
    isOrganizationNoBoolean- Whether to conduct integrated search for Organization accounts
    (available to Organization masters)
    An error is returned if both isOrganization and isPartner are true
    isPartnerNoBoolean- Whether to search partner accounts
    (available to representative accounts of partners)
    An error is returned if both isOrganization and isPartner are true
    memberNoListNoList<String>List of member numbers
    (available to Organization masters or representative accounts of partners)
    startMonthNoStringSearch start month (yyyyMM)
    <Example> 202001
    endMonthNoStringSearch end month (yyyyMM)
    <Example> 202001
    responseFormatTypeNoString- Format type of the response result
    Options: xml | json
    Default: xml

    Responses

    Response bodies

    Examples

    Request examples

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

    Response examples

    <?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>
    

    Was this article helpful?

    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.