getContractDemandCostList
  • PDF

getContractDemandCostList

  • PDF

Summary

Search a list of contract billing amounts.

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.
startMonth Yes String Available to search up to 3 months simultaneously Search start month (yyyyMM)
ex) 202001
endMonth Yes String Available to search up to 3 months simultaneously Search last month (yyyyMM)
ex) 202001
demandTypeCode No String Billing type code
demandTypeDetailCode No String Detailed code to identify billing type
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/getContractDemandCostList
?startMonth=202009
&endMonth=202009

Response example

<?xml version="1.0" encoding="UTF-8"?>
<getContractDemandCostListResponse>
  <requestId>60f7190f-e878-4f4b-b9c2-456130b299fb</requestId>
  <returnCode>0</returnCode>
  <returnMessage>success</returnMessage>
  <totalRows>44</totalRows>
  <contractDemandCostList>
    <contractDemandCost>
      <loginId>*****@navercorp.com</loginId>
      <regionCode>KR</regionCode>
      <demandType>
        <code>BST</code>
        <codeName>Block Storage</codeName>
      </demandType>
      <demandTypeDetail>
        <code>BST</code>
        <codeName>Block Storage Usage</codeName>
      </demandTypeDetail>
      <contract>
        <loginId>*****@navercorp.com</loginId>
        <contractNo>349705</contractNo>
        <conjunctionContractNo/>
        <contractType>
          <code>BST</code>
          <codeName>Block Storage</codeName>
        </contractType>
        <contractStatus>
          <code>NOML</code>
          <codeName>Normal</codeName>
        </contractStatus>
        <contractStartDate>2020-07-01T18:50:56+0900</contractStartDate>
        <contractEndDate>2999-12-31T23:59:59+0900</contractEndDate>
        <instanceName>test-snapshot2</instanceName>
        <regionCode>KR</regionCode>
        <platformType>
          <code>VPC</code>
          <codeName>VPC</codeName>
        </platformType>
        <contractProductList>
          <contractProduct>
            <contractProductSequence>1</contractProductSequence>
            <beforeContractProductSequence/>
            <productCode>SPBSTBSTAD000002</productCode>
            <priceNo>12507</priceNo>
            <instanceNo>1262931</instanceNo>
            <productItemKind>
              <code>BST</code>
              <codeName>Block storage</codeName>
            </productItemKind>
            <productRatingType>
              <code>BST</code>
              <codeName>Block Storage Usage</codeName>
            </productRatingType>
            <serviceStatus>
              <code>NOML</code>
              <codeName>Normal</codeName>
            </serviceStatus>
            <serviceStartDate>2020-07-01T18:50:56+0900</serviceStartDate>
            <serviceEndDate>2999-12-31T23:59:59+0900</serviceEndDate>
            <productSize>53687091200</productSize>
            <productCount>0</productCount>
            <productSizeType>
              <code>SNAP</code>
              <codeName>Snapshot</codeName>
            </productSizeType>
            <usageList/>
          </contractProduct>
        </contractProductList>
      </contract>
      <demandMonth>202009</demandMonth>
      <unitUsageQuantity>714</unitUsageQuantity>
      <totalUnitUsageQuantity>714</totalUnitUsageQuantity>
      <usageUnit>
        <code>USAGE_TIME</code>
        <codeName>Usage time(Prorated)</codeName>
      </usageUnit>
      <productPrice>0.08</productPrice>
      <useAmount>2850</useAmount>
      <promotionDiscountAmount>0</promotionDiscountAmount>
      <etcDiscountAmount>0</etcDiscountAmount>
      <defaultAmount>0</defaultAmount>
      <promiseDiscountAmount>0</promiseDiscountAmount>
      <demandAmount>2850</demandAmount>
      <writeDate>2020-10-01T08:04:33+0900</writeDate>
      <memberPriceDiscountAmount>0</memberPriceDiscountAmount>
      <memberPromiseDiscountAddAmount>0</memberPromiseDiscountAddAmount>
    </contractDemandCost>
  </contractDemandCostList>
</getContractDemandCostListResponse>


Was this article helpful?