getDiscountList
- Print
- PDF
getDiscountList
- Print
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
Overview
Search the list of discounts.
Requests
Request parameters
Parameters | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
pageNo | No | Integer | Page number | |
pageSize | No | Integer | - Page size default: 1000 max: 1000 | |
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) | |
discountTypeCode | No | String | Discount type * product discount: PRODUCT * credit: CREDIT * coin: COIN | |
startMonth | No | String | Up to 3 months can be searched at the same time. | Search start month (yyyyMM) e.g., 202001 |
endMonth | No | String | Up to 3 months can be searched at the same time. | Last search month (yyyyMM) e.g., 202001 |
isValidDiscount | No | Boolean | Select whether to display valid discounts only * Only valid discounts are displayed: true * All discounts are displayed: false | |
responseFormatType | No | String | - Format type of the response result Options: xml | json Default: xml |
Responses
Response bodies
Examples
Request examples
GET {API_URL}/discount/getDiscountList
?startMonth=202201
&endMonth=202202
Response examples
<?xml version="1.0" encoding="UTF-8"?>
<getDiscountListResponse>
<requestId>b797****-****-****-****-****6fab4b70</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>2</totalRows>
<discountList>
<discount>
<memberNo>******</memberNo>
<discountNo>54</discountNo>
<discountType>
<code>COIN</code>
<codeName>Coin</codeName>
</discountType>
<discountName>Bank transfer(Nonghyup)</discountName>
<discountProcessMethod>
<code>FXSUM</code>
<codeName>Flat rate</codeName>
</discountProcessMethod>
<discountValue>100000</discountValue>
<validityStartMonth>202007</validityStartMonth>
<validityEndMonth>202307</validityEndMonth>
</discount>
<discount>
<memberNo>******</memberNo>
<discountNo>158</discountNo>
<discountType>
<code>COIN</code>
<codeName>Coin</codeName>
</discountType>
<discountName>Credit card(TEST)</discountName>
<discountProcessMethod>
<code>FXSUM</code>
<codeName>Flat rate</codeName>
</discountProcessMethod>
<discountValue>10000</discountValue>
<validityStartMonth>202007</validityStartMonth>
<validityEndMonth>202307</validityEndMonth>
</discount>
</discountList>
</getDiscountListResponse>
Was this article helpful?