Alphaus | Documentation
WebsiteRepoTech blog (JP)Tech blog (EN)
API Reference
API Reference
  • Overview
  • Endpoint limits
  • Authentication
  • Users
  • API clients
  • Authorization (RBAC)
  • Ripple
    • User
    • ExchangeRate
    • BillingGroup
    • Account
    • Wave for Reseller
    • OriginalCost
    • RI management
    • Recalculation
    • Invoice
    • Export
    • Project
  • Wave
    • Pre-request
    • Report
  • Status
  • Ocean
    • Credentials
    • Deployments
  • ALM (v3)
Powered by GitBook
On this page

Was this helpful?

  1. Wave

Report

基本的なResponse Format

{
    vendor : [
        {
            id : string
            name : string
            date : [
                {
                    blended_cost : number
                    date : string
                    timestamp : number
                    true_unblended_cost : number
                    unblended_cost : number
                },...
            ]
        },...
    ]
}

Response value

type

description

vendor

array

パラメーターで指定したvendor 例 : aws

id

string

- service servicename - account account id

name

string

- service servicename - account account name

date

array

取得したデータ一覧

date

string

- monthly : YYYY-MM - daily : YYYY-MM-DD

timestamp

number

date のUNIXタイムスタンプ

blended_cost

number

AWS CURの lineitem/blendedcost

unblended_cost

number

AWS CURの lineitem/unblendedcost

true_unblended_cost

number

mobingiで再計算したunblendedcost

レポートの取得

Request

GET /v1/reports/{owner}/{resolution}?from={from}&to={to}&by={by}&vendor={vendor} HTTP1.1
Content-Type: application/json

{Path Variables} の例

Path

description

owner

使用可能な値 - company

resolution

使用可能な値 - monthly - daily

Request URL の例

GET /v1/reports/company/monthly?from=2019-01-01&to=2019-02-01&by=service&vendor=aws

Params

description

from

型 : string フォーマット : YYYY-MM_DD 説明 : Monthly は自動的に YYYY-MMへ変換されます。 Daily は自動的に YYYY-MM-DDへ変換されます。

to

型 : string フォーマット : YYYY-MM_DD 説明 : Monthly は自動的に YYYY-MMへ変換されます。 Daily は自動的に YYYY-MM-DDへ変換されます。

by

使用可能な値 型 : string - service - account

vendor

使用可能な値 型 : string - aws

PreviousPre-requestNextStatus

Last updated 5 years ago

Was this helpful?