getCreditHistoryList
- Print
- PDF
getCreditHistoryList
- Print
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
Overview
Get the credit history list.
Requests
Request parameters
Parameters | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
pageNo | No | Integer | Page number | |
pageSize | No | Integer | - Page size default: 1000 max: 1000 | |
discountNoList.N | No | List<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. | |
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) | |
startMonth | No | String | Search start month (yyyyMM) <Example> 202001 | |
endMonth | No | String | Search end month (yyyyMM) <Example> 202001 | |
responseFormatType | No | String | - 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?