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>

이 글이 도움이 되었나요?