getDiscountList
    • PDF

    getDiscountList

    • PDF

    Article Summary

    Overview

    Search the list of discounts.

    Requests

    Request parameters

    ParametersRequirement statusTypeRestrictionsDescription
    pageNoNoIntegerPage number
    pageSizeNoInteger- Page size
    default: 1000
    max: 1000
    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)
    discountTypeCodeNoStringDiscount type
    * product discount: PRODUCT
    * credit: CREDIT
    * coin: COIN
    startMonthNoStringUp to 3 months can be searched at the same time.Search start month (yyyyMM)
    e.g., 202001
    endMonthNoStringUp to 3 months can be searched at the same time.Last search month (yyyyMM)
    e.g., 202001
    isValidDiscountNoBooleanSelect whether to display valid discounts only
    * Only valid discounts are displayed: true
    * All discounts are displayed: false
    responseFormatTypeNoString- 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?

    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.