Recalculation
再計算請求データのAPIリファレンスは以下の通りです。

Get recalculation list

再計算請求データの取得
Role actions
  • ReadBillingGroup
  • ModifyBillingGroup
Request
1
GET /billinggroup/recalculation/{month}?vendor={vendor} HTTP1.1
2
Authorization: Bearer {token}
Copied!
リクエストパラーメータの{month}のフォーマット: yyyy-mm 例: 2020-01 リクエストパラーメータの{vendor}のサポートベンダー: aws,azure
Response
1
HTTP 200
2
3
[
4
{
5
"customer_id":"012345678912",
6
"customer_name":"customer1",
7
"company_id":"company1",
8
"billinggroup_id":"billing1",
9
"billinggroup_name":"billing1",
10
"project_code":null,
11
"id": "recalculationid1",
12
"calc_type":"Fee",
13
"mobingi_type":"REGISTRAR",
14
"description":"[OP-n4GB] Renewal",
15
"product_name":"Amazon Registrar",
16
"account_id":"012345678912",
17
"currency_code":"USD",
18
"product_code":"AmazonRegistrar",
19
"unblended_cost":"90.0000000000",
20
"time_interval":"2020-05-27T15:00:00Z\/2021-05-26T15:00:01Z",
21
"usage_start":"2020-05-27T15:00:00Z",
22
"apply":false,
23
"exchange_rate":null,
24
"tax_free":false,
25
"vendor":"aws"
26
},
27
...
28
]
Copied!

Apply recalculation

再計算請求データの適用・未適用の割当
Role actions
  • ModifyBillingGroup
Request
1
POST /billinggroup/recalculation HTTP1.1
2
Authorization: Bearer {token}
3
Content-Type: application/json
4
5
{request body}
Copied!
以下に{request body}のリクエストペイロードの例を示します。
{request body}
1
{
2
"data": [
3
"recalculationid1",
4
"recalculationid2",
5
"recalculationid3"
6
],
7
"month": "2021-01",
8
"exchange_rate":104.02,
9
"tax_free":true,
10
"apply":true,
11
"vendor":"aws"
12
}
Copied!
{request body} description
Field
Type
Required
Validation
Description
data
array
Yes
[id1,id2,id3...]
再計算請求データIDの一覧
month
string
Yes
-
適用・未適用する対象月
exchange_rate
double
Yes
-
適用・未適用する為替レート
tax_free
boolean
Yes
-
免税設定
apply
boolean
Yes
-
適用・未適用設定
vendor
string
Yes
-
ベンダー
Response
1
HTTP 200
2
3
{"status":"success"}
Copied!