getContractUsageList
    • PDF

    getContractUsageList

    • PDF

    Article Summary

    概要

    契約使用量リストを照会します。

    リクエスト

    リクエストパラメータ

    パラメータ名要否タイプ制約事項説明
    pageNoNoIntegerページ番号
    pageSizeNoInteger- ページサイズ
    default: 1000
    max: 1000
    isOrganizationNoBoolean- Organizationアカウントの統合照会有無
    (Organizationマスターの場合に使用可能)
    isOrganization、isPartnerがいずれも trueの場合、エラーが返される
    isPartnerNoBoolean- パートナーアカウントの照会有無
    (パートナー代表の場合に使用可能)
    isOrganization、isPartnerがいずれも trueの場合、エラーが返される
    memberNoListNoList<String>会員番号リスト
    (Organizationマスターまたはパートナー代表アカウントの場合に使用可能)
    contractNoNoString契約番号
    startMonthYesString最大3か月の同時照会が可能照会開始月(yyyyMM)
    例) 202001
    endMonthYesString最大3か月の同時照会が可能照会最終月(yyyyMM)
    例) 202001
    contractTypeCodeNoString契約タイプコード
    productItemKindCodeNoString商品品目種類コード
    regionCodeNoString- リージョンコード
    regionCodeは、getRegionListアクションを通じて取得可能
    responseFormatTypeNoString- レスポンス結果のフォーマットタイプ
    Options: xml | json
    Default: xml

    レスポンス

    レスポンスボディ

    リクエスト例

    GET {API_URL}/cost/getContractUsageList
    ?startMonth=202009
    &endMonth=202009
    

    レスポンス例

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

    この記事は役に立ちましたか?

    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.