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.