getContractUsageListByDaily
  • PDF

getContractUsageListByDaily

  • PDF

Summary

You can search the daily product usage amount.

Request

Request parameters

Parameter name Required status Type Restrictions Description
pageNo No Integer Page number
pageSize No Integer Page size
default : 1000
max : 1000
isOrganization No Boolean Organization Account Integration Lookup Status
(Available for Organization Master)
If both isOrganization and isPartner are true, an error is answered.
isPartner No Boolean Partner account lookup status
(Available for Partner Representatives)
If both isOrganization and isPartner are true, an error is answered.
loginId No String Organization, Partner Member Login ID
(Available for Organization Master or Partner Representative accounts)
contractNo No String Contract No.
useStartDay Yes String Available to search up to 3 months simultaneously Search start day (yyyyMMdd)
ex) 20220101
useEndDay Yes String Available to search up to 3 months simultaneously Search last day (yyyyMMdd)
ex) 20220228
contractTypeCode No String Contract type code
productItemKindCode No String Product item type code
regionCode No String Region code
regionCode can be obtained through the getRegionList action.
responseFormatType No String Format type of the response results
Options : xml | json
Default : xml

Response

Response body

Example

Request example

GET {API_URL}/cost/getContractUsageListByDaily
?useStartDay=20220101
&useEndDay=20220102
&contractNo=16

Response example

<?xml version="1.0" encoding="UTF-8"?>
<getContractUsageListByDailyResponse>
  <requestId>f08f****-****-****-****-****609410d9</requestId>
  <returnCode>0</returnCode>
  <returnMessage>success</returnMessage>
  <totalRows>4</totalRows>
  <contractUsageListByDaily>
    <contractUsageByDaily>
      <account>
        <loginId>******@naver.com</loginId>
      </account>
      <useDate>
        <useStartDate>2022-01-01T00:00:00+0900</useStartDate>
        <useEndDate>2022-01-01T23:59:59+0900</useEndDate>
      </useDate>
      <contract>
        <contractNo>16</contractNo>
        <conjunctionContractNo/>
        <contractType>
          <code>CDN3</code>
          <codeName>CDN+</codeName>
        </contractType>
        <contractStatus>
          <code>NOML</code>
          <codeName>Normal</codeName>
        </contractStatus>
        <contractStartDate>2019-05-08T15:35:48+0900</contractStartDate>
        <contractEndDate>2999-12-31T23:59:59+0900</contractEndDate>
        <instanceName>ltcdn-20190508153548</instanceName>
        <regionCode>KR</regionCode>
        <platformType/>
      </contract>
      <contractProduct>
        <contractProductSequence>1</contractProductSequence>
        <beforeContractProductSequence/>
        <productCode>SPCDN00000000004</productCode>
        <priceNo>2793</priceNo>
        <instanceNo>941002</instanceNo>
        <productItemKind>
          <code>CDN3</code>
          <codeName>CDN+</codeName>
        </productItemKind>
        <productRatingType>
          <code>CDNDN</code>
          <codeName>Transfer</codeName>
        </productRatingType>
        <serviceStatus>
          <code>NOML</code>
          <codeName>Normal</codeName>
        </serviceStatus>
        <serviceStartDate>2019-05-08T15:35:48+0900</serviceStartDate>
        <serviceEndDate>2999-12-31T23:59:59+0900</serviceEndDate>
        <productSize>0</productSize>
        <productCount>0</productCount>
        <productSizeType/>
      </contractProduct>
      <usage>
        <meteringType>
          <code>CDNDN</code>
          <codeName>Transfer</codeName>
        </meteringType>
        <usageQuantity>0</usageQuantity>
        <unit>
          <code>USAGE_1BYTE</code>
          <codeName>Usage (1 Byte)</codeName>
        </unit>
      </usage>
    </contractUsageByDaily>
    <contractUsageByDaily>
      <account>
        <loginId>******@naver.com</loginId>
      </account>
      <useDate>
        <useStartDate>2022-01-01T00:00:00+0900</useStartDate>
        <useEndDate>2022-01-01T23:59:59+0900</useEndDate>
      </useDate>
      <contract>
        <contractNo>16</contractNo>
        <conjunctionContractNo/>
        <contractType>
          <code>CDN3</code>
          <codeName>CDN+</codeName>
        </contractType>
        <contractStatus>
          <code>NOML</code>
          <codeName>Normal</codeName>
        </contractStatus>
        <contractStartDate>2019-05-08T15:35:48+0900</contractStartDate>
        <contractEndDate>2999-12-31T23:59:59+0900</contractEndDate>
        <instanceName>ltcdn-20190508153548</instanceName>
        <regionCode>KR</regionCode>
        <platformType/>
      </contract>
      <contractProduct>
        <contractProductSequence>2</contractProductSequence>
        <beforeContractProductSequence/>
        <productCode>SPCDN00000000004</productCode>
        <priceNo>2794</priceNo>
        <instanceNo>941002</instanceNo>
        <productItemKind>
          <code>CDN3</code>
          <codeName>CDN+</codeName>
        </productItemKind>
        <productRatingType>
          <code>CDNRQ</code>
          <codeName>Request</codeName>
        </productRatingType>
        <serviceStatus>
          <code>NOML</code>
          <codeName>Normal</codeName>
        </serviceStatus>
        <serviceStartDate>2019-05-08T15:35:48+0900</serviceStartDate>
        <serviceEndDate>2999-12-31T23:59:59+0900</serviceEndDate>
        <productSize>0</productSize>
        <productCount>0</productCount>
        <productSizeType/>
      </contractProduct>
      <usage>
        <meteringType>
          <code>CDNRQ</code>
          <codeName>Request</codeName>
        </meteringType>
        <usageQuantity>0</usageQuantity>
        <unit>
          <code>REQ_CNT</code>
          <codeName>Number of requests (per month)</codeName>
        </unit>
      </usage>
    </contractUsageByDaily>
    <contractUsageByDaily>
      <account>
        <loginId>******@naver.com</loginId>
      </account>
      <useDate>
        <useStartDate>2022-01-02T00:00:00+0900</useStartDate>
        <useEndDate>2022-01-02T23:59:59+0900</useEndDate>
      </useDate>
      <contract>
        <contractNo>16</contractNo>
        <conjunctionContractNo/>
        <contractType>
          <code>CDN3</code>
          <codeName>CDN+</codeName>
        </contractType>
        <contractStatus>
          <code>NOML</code>
          <codeName>Normal</codeName>
        </contractStatus>
        <contractStartDate>2019-05-08T15:35:48+0900</contractStartDate>
        <contractEndDate>2999-12-31T23:59:59+0900</contractEndDate>
        <instanceName>ltcdn-20190508153548</instanceName>
        <regionCode>KR</regionCode>
        <platformType/>
      </contract>
      <contractProduct>
        <contractProductSequence>1</contractProductSequence>
        <beforeContractProductSequence/>
        <productCode>SPCDN00000000004</productCode>
        <priceNo>2793</priceNo>
        <instanceNo>941002</instanceNo>
        <productItemKind>
          <code>CDN3</code>
          <codeName>CDN+</codeName>
        </productItemKind>
        <productRatingType>
          <code>CDNDN</code>
          <codeName>Transfer</codeName>
        </productRatingType>
        <serviceStatus>
          <code>NOML</code>
          <codeName>Normal</codeName>
        </serviceStatus>
        <serviceStartDate>2019-05-08T15:35:48+0900</serviceStartDate>
        <serviceEndDate>2999-12-31T23:59:59+0900</serviceEndDate>
        <productSize>0</productSize>
        <productCount>0</productCount>
        <productSizeType/>
      </contractProduct>
      <usage>
        <meteringType>
          <code>CDNDN</code>
          <codeName>Transfer</codeName>
        </meteringType>
        <usageQuantity>0</usageQuantity>
        <unit>
          <code>USAGE_1BYTE</code>
          <codeName>Usage (1 Byte)</codeName>
        </unit>
      </usage>
    </contractUsageByDaily>
    <contractUsageByDaily>
      <account>
        <loginId>******@naver.com</loginId>
      </account>
      <useDate>
        <useStartDate>2022-01-02T00:00:00+0900</useStartDate>
        <useEndDate>2022-01-02T23:59:59+0900</useEndDate>
      </useDate>
      <contract>
        <contractNo>16</contractNo>
        <conjunctionContractNo/>
        <contractType>
          <code>CDN3</code>
          <codeName>CDN+</codeName>
        </contractType>
        <contractStatus>
          <code>NOML</code>
          <codeName>Normal</codeName>
        </contractStatus>
        <contractStartDate>2019-05-08T15:35:48+0900</contractStartDate>
        <contractEndDate>2999-12-31T23:59:59+0900</contractEndDate>
        <instanceName>ltcdn-20190508153548</instanceName>
        <regionCode>KR</regionCode>
        <platformType/>
      </contract>
      <contractProduct>
        <contractProductSequence>2</contractProductSequence>
        <beforeContractProductSequence/>
        <productCode>SPCDN00000000004</productCode>
        <priceNo>2794</priceNo>
        <instanceNo>941002</instanceNo>
        <productItemKind>
          <code>CDN3</code>
          <codeName>CDN+</codeName>
        </productItemKind>
        <productRatingType>
          <code>CDNRQ</code>
          <codeName>Request</codeName>
        </productRatingType>
        <serviceStatus>
          <code>NOML</code>
          <codeName>Normal</codeName>
        </serviceStatus>
        <serviceStartDate>2019-05-08T15:35:48+0900</serviceStartDate>
        <serviceEndDate>2999-12-31T23:59:59+0900</serviceEndDate>
        <productSize>0</productSize>
        <productCount>0</productCount>
        <productSizeType/>
      </contractProduct>
      <usage>
        <meteringType>
          <code>CDNRQ</code>
          <codeName>Request</codeName>
        </meteringType>
        <usageQuantity>0</usageQuantity>
        <unit>
          <code>REQ_CNT</code>
          <codeName>Number of requests (per month)</codeName>
        </unit>
      </usage>
    </contractUsageByDaily>
  </contractUsageListByDaily>
</getContractUsageListByDailyResponse>

Was this article helpful?