getProductDemandCostByDiscountList
    • PDF

    getProductDemandCostByDiscountList

    • PDF

    Article Summary

    Overview

    Get the status of product discounts given to each account, along with their usage history.

    Requests

    Request parameters

    ParametersRequirement statusTypeRestrictionsDescription
    pageNoNoIntegerPage number
    pageSizeNoInteger- Page size
    default: 1000
    max: 1000
    productDemandTypeCodeList.NNoList<String>Enter the product billing type code to view.
    startMonthYesStringUp to 3 months can be searched at the same time.Search start month (yyyyMM)
    <Example> 202001
    endMonthYesStringUp to 3 months can be searched at the same time.Search end month (yyyyMM)
    <Example> 202001
    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)
    responseFormatTypeNoString- Format type of the response result
    Options: xml | json
    Default: xml

    Responses

    Response bodies

    Examples

    Request examples

    GET {API_URL}/discount/getProductDiscountHistoryList
    ?startMonth=202212&endMonth=202212&productDemandTypeCodeList.1=GDNS
    

    Response examples

    <?xml version="1.0" encoding="UTF-8"?>
    <getProductDemandCostByDiscountListResponse>
      <requestId>89b5d61f-****-****-****-fc1289eeb72e</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>2</totalRows>
      <productDemandCostByDiscountList>
        <productDemandCostByDiscount>
          <memberNo>1***9</memberNo>
          <demandMonth>202212</demandMonth>
          <productDemandType>
            <code>GDNS</code>
            <codeName>Global DNS</codeName>
            <regionCode/>
          </productDemandType>
          <promiseDiscountAmount>0</promiseDiscountAmount>
          <promotionDiscountAmount>0</promotionDiscountAmount>
          <etcDiscountAmount>0</etcDiscountAmount>
          <productDiscountAmount>60</productDiscountAmount>
          <creditDiscountAmount>0</creditDiscountAmount>
          <defaultAmount>0</defaultAmount>
          <useAmount>690</useAmount>
          <demandAmount>630</demandAmount>
          <writeDate>2022-12-14T07:59:53+0900</writeDate>
          <memberPriceDiscountAmount>0</memberPriceDiscountAmount>
          <memberPromiseDiscountAddAmount>0</memberPromiseDiscountAddAmount>
          <discountAppliedCount>1</discountAppliedCount>
          <appliedCreditHistoryList/>
          <appliedProductDiscountHistoryList>
            <appliedProductDiscountHistory>
              <discountTargetAmount>690</discountTargetAmount>
              <discountAppliedAmount>60</discountAppliedAmount>
              <discountNo>9694</discountNo>
              <productDiscountName>test-product-discount</productDiscountName>
              <discountRate>10.0</discountRate>
              <discountCondition>true</discountCondition>
              <minimumAmount>0</minimumAmount>
              <maximumDiscountCondition>true</maximumDiscountCondition>
              <maximumDiscountAmount>0</maximumDiscountAmount>
              <validityStartMonth>202212</validityStartMonth>
              <validityEndMonth>202212</validityEndMonth>
              <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>
            </appliedProductDiscountHistory>
          </appliedProductDiscountHistoryList>
          <payCurrency>
            <code>KRW</code>
            <codeName>South Korea Won</codeName>
          </payCurrency>
        </productDemandCostByDiscount>
      </productDemandCostByDiscountList>
    </getProductDemandCostByDiscountListResponse>
    

    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.