getProductDemandCostByDiscountList
- Print
- PDF
getProductDemandCostByDiscountList
- Print
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
Overview
Get the status of product discounts given to each account, along with their usage history.
Requests
Request parameters
Parameters | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
pageNo | No | Integer | Page number | |
pageSize | No | Integer | - Page size default: 1000 max: 1000 | |
productDemandTypeCodeList.N | No | List<String> | Enter the product billing type code to view. | |
startMonth | Yes | String | Up to 3 months can be searched at the same time. | Search start month (yyyyMM) <Example> 202001 |
endMonth | Yes | String | Up to 3 months can be searched at the same time. | Search end month (yyyyMM) <Example> 202001 |
isOrganization | No | Boolean | - Whether to conduct integrated search for Organization accounts (available to Organization masters) An error is returned if both isOrganization and isPartner are true | |
isPartner | No | Boolean | - Whether to search partner accounts (available to representative accounts of partners) An error is returned if both isOrganization and isPartner are true | |
memberNoList | No | List<String> | List of member numbers (available to Organization masters or representative accounts of partners) | |
responseFormatType | No | String | - 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?