getContractUsageList
    • PDF

    getContractUsageList

    • PDF

    Article Summary

    Overview

    Search a list of instances of contract usage.

    Requests

    Request parameters

    ParametersRequirement statusTypeRestrictionsDescription
    pageNoNoIntegerPage number
    pageSizeNoInteger- Page size
    default: 1000
    max: 1000
    isOrganizationNoBoolean- Whether to conduct integrated search for Organization accounts
    (available to Organization masters)
    An error is returned if both isOrganization and isPartner are true
    isPartnerNoBoolean- Whether to search partner accounts
    (available to representative accounts of partners)
    An error is returned if both isOrganization and isPartner are true
    memberNoListNoList<String>List of member numbers
    (available to Organization masters or representative accounts of partners)
    contractNoNoStringContract number
    startMonthYesStringUp to 3 months can be searched at the same time.Search start month (yyyyMM)
    <Example> 202001
    endMonthYesStringUp to 3 months can be searched at the same time.Last search month (yyyyMM)
    <Example> 202001
    contractTypeCodeNoStringContract type code
    productItemKindCodeNoStringProduct item type code
    regionCodeNoString- Region code
    regionCode can be acquired through the getRegionList action.
    responseFormatTypeNoString- 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?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.