getContractUsageList
- Print
- PDF
getContractUsageList
- Print
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
Overview
Search a list of instances of contract usage.
Requests
Request parameters
Parameters | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
pageNo | No | Integer | Page number | |
pageSize | No | Integer | - Page size default: 1000 max: 1000 | |
isOrganization | No | Boolean | - Whether to conduct integrated search for Organization accounts (available to Organization masters) An error is returned if both isOrganization and isPartner are true | |
isPartner | No | Boolean | - Whether to search partner accounts (available to representative accounts of partners) An error is returned if both isOrganization and isPartner are true | |
memberNoList | No | List<String> | List of member numbers (available to Organization masters or representative accounts of partners) | |
contractNo | No | String | Contract number | |
startMonth | Yes | String | Up to 3 months can be searched at the same time. | Search start month (yyyyMM) <Example> 202001 |
endMonth | Yes | String | Up to 3 months can be searched at the same time. | Last search month (yyyyMM) <Example> 202001 |
contractTypeCode | No | String | Contract type code | |
productItemKindCode | No | String | Product item type code | |
regionCode | No | String | - Region code regionCode can be acquired through the getRegionList action. | |
responseFormatType | No | String | - Format type of the response result Options: xml | json Default: xml |
Responses
Response bodies
Examples
Request examples
GET {API_URL}/cost/getContractUsageList
?startMonth=202009
&endMonth=202009
Response examples
<?xml version="1.0" encoding="UTF-8"?>
<getContractUsageListResponse>
<requestId>4f21a415-****-****-****-895d798f24bf</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<contractList>
<contract>
<memberNo>****</memberNo>
<contractNo>66087637</contractNo>
<conjunctionContractNo>66087636</conjunctionContractNo>
<contractType>
<code>SW</code>
<codeName>Software</codeName>
</contractType>
<contractStatus>
<code>NOML</code>
<codeName>Normal</codeName>
</contractStatus>
<contractStartDate>2020-05-06T21:04:27+0900</contractStartDate>
<contractEndDate>2999-12-31T23:59:59+0900</contractEndDate>
<instanceName>mysql(5.7.19)</instanceName>
<regionCode>KR</regionCode>
<platformType/>
<contractProductList>
<contractProduct>
<contractProductSequence>1</contractProductSequence>
<beforeContractProductSequence/>
<productCode>SPSWMYSQLLINUX01</productCode>
<priceNo>2623</priceNo>
<promiseNo/>
<instanceNo>501324</instanceNo>
<productItemKind>
<code>SW</code>
<codeName>Software</codeName>
</productItemKind>
<productRatingType>
<code>SW</code>
<codeName>Software OS License</codeName>
</productRatingType>
<serviceStatus>
<code>NOML</code>
<codeName>Normal</codeName>
</serviceStatus>
<serviceStartDate>2020-05-06T21:04:27+0900</serviceStartDate>
<serviceEndDate>2999-12-31T23:59:59+0900</serviceEndDate>
<productSize>0</productSize>
<productCount>0</productCount>
<usageList>
<usage>
<meteringType/>
<useMonth/>
<usageQuantity>0</usageQuantity>
<unit>
<code>USAGE_SEC</code>
<codeName>Usage time (per second)</codeName>
</unit>
<userUsageQuantity>0</userUsageQuantity>
<userUnit>
<code>SEC_DAY</code>
<codeName>Day(s)</codeName>
</userUnit>
</usage>
</usageList>
</contractProduct>
</contractProductList>
</contract>
</contractList>
</getContractUsageListResponse>
Was this article helpful?