getContractUsageListByDaily
  • PDF

getContractUsageListByDaily

  • PDF

概述

可以按天查询产品的使用量。

请求

请求参数

参数名称 是否为必填项 类型 限制事项 描述
pageNo No Integer 页编码
pageSize No Integer 页大小
default : 1000
max : 1000
isOrganization No Boolean 是否查询Organization账户整合
(Organization 精通时可使用)
isOrganization, isPartner 全部为 true时错误将会被回应。
isPartner No Boolean 是否查询合作伙伴账户
(搭档代表时可使用)
isOrganization, isPartner 全部为 true时错误将会被回应。
loginId No String Organization, 伙伴成员登录 ID
(Organization 大师或合作伙伴代表账户时可使用。)
contractNo No String 合同编号
useStartDay Yes String 最多可同时查询3个月 查询起始日(yyyyMMdd)
ex) 20220101
useEndDay Yes String 最多可同时查询3个月 查询终止日(yyyyMMdd)
ex) 20220228
contractTypeCode No String 合同类型代码
productItemKindCode No String 产品项目类型代码
regionCode No String 区域代码
regionCode可通过getRegionList操作获取。
responseFormatType No String 响应结果的格式类型
Options : xml | json
Default : xml

响应

响应体

示例

请求示例

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

响应示例

<?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>

本文是否有帮助