User
ユーザーのAPIリファレンスは以下の通りです。

Get user

ユーザー情報の取得
Role actions
  • ModifySettings
Request
1
GET /user HTTP1.1
2
Authorization: Bearer {token}
Copied!
Response
1
HTTP 200
2
3
{
4
"msp_start": "2020-01",
5
"language": "ja",
6
"invoices_info": {},
7
"invoice_meta": {},
8
"meta": {},
9
"services": [],
10
"username": null,
11
"support_fee": [],
12
"msp_id": "MSP-5aa311904d5d6",
13
"invoice_layout": {},
14
"service_discount": {},
15
"months": [],
16
"export_digit": "up",
17
"exchange_rate": [],
18
"pay_accounts": [],
19
"service_fee": null,
20
"company_name": "Company Name",
21
"reseller_lng": null,
22
"email": "[email protected]"
23
}
Copied!
exchange_rate object例
Field
Type
Description
month
string
月 format: yyyy-mm
rate
double
為替レート
1
"exchange_rate": [
2
{
3
"month": "2020-04",
4
"rate": 105.00
5
}
6
]
Copied!
pay_accounts object例
vendor : aws
Field
Type
Description
vendor
string
ベンダー
id
string
支払いアカウント
name
string
支払いアカウント名
bucket_name
string
aws s3 bucket名
prefix
string
aws s3 bucket prefix
report_name
string
aws s3 report名
role_arn
string
aws iam role arn
report_last_saved
string
CUR更新日時
1
"pay_accounts": [
2
{
3
"vendor": "aws",
4
"id": "123456789109",
5
"name": "Payer Account",
6
"bucket_name": null,
7
"prefix": null,
8
"report_name": null,
9
"role_arn": null,
10
"report_last_saved": []
11
}
12
]
Copied!
vendor : azure
Field
Type
Description
vendor
string
ベンダー
id
string
支払いアカウント
name
string
支払いアカウント名
application_name
string
azure application name
application_id
string
azure application id
commerce_id
string
azure commerce id
1
"pay_accounts": [
2
{
3
"vendor": "azure",
4
"id": "1234567",
5
"name": "Payer Account",
6
"application_name": null,
7
"application_id": null,
8
"commerce_id": null
9
}
10
]
Copied!
Last modified 1yr ago
Copy link
Contents
Get user