GET/partners/customers/{domainId}/usages
顧客の利用履歴を取得する
Access Token を指定します。 指定の方法や Access Token の取得方法は 共通仕様 を参照してください。
partner
partner.read
| Parameter | Type | Description |
|---|---|---|
| domainId | integer | ドメイン ID required example : 10000001 |
| Parameter | Type | Description |
|---|---|---|
| year | integer | 取得年 required example : 2021 |
| month | integer | 取得月 required minimum : 1 maximum : 12 example : 6 |
| productGroupId | string | 商品グループ ID
Allowed values : WORKS, NOTE_AI, ROGER, JP_PAPER_ON, JP_AI_STUDIO, CATCH_CALL |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
OK
| Property | Type | Description |
|---|---|---|
| usages | array (Usages) | 利用履歴は毎日 0 時に顧客企業の商品、プラン、ユーザー数などがメーターリングされる。 |
| Property | Type | Description |
|---|---|---|
| productGroupId | string | 商品グループ ID
required Allowed values : WORKS, NOTE_AI, ROGER, JP_PAPER_ON, JP_AI_STUDIO, CATCH_CALL |
| usedDate | string | 日付 required format : date readOnly : true |
| productId | string | 商品ID
required Allowed values : FR, LT_T, BS_T, PRM_T, LT, BS, PRM, STD_T, ADV_T, STD, ADV, ROG_FR, ROG_STD_T, ROG_ADV_T, ROG_STD, ROG_ADV, NTA_FR, NTA_SL_T, NTA_TM_T, NTA_BZ_T, NTA_EP_T, NTA_SL, NTA_TM, NTA_BZ, NTA_EP, JP_PPO_LT_T, JP_PPO_STD_T, JP_PPO_ADV_T, JP_PPO_LT, JP_PPO_STD, JP_PPO_ADV, JP_AIS_STD_T, JP_AIS_STD, CTC_LT_T, CTC_STD_T, CTC_ADV_T, CTC_LT, CTC_STD, CTC_ADV |
| plan | string | プラン (契約タイプ)
商品グループ別の適用可能なプラン
required Allowed values : FREE, TRIAL, MONTHLY, ANNUAL, ANNUAL_PREPAY, FREE_LICENSE, TRIAL_LICENSE, MONTHLY_LICENSE, ANNUAL_LICENSE, ANNUAL_PREPAY_LICENSE |
| licenseCount | integer | ライセンス数 readOnly : true |
| memberCount | integer | ユーザー数 readOnly : true |
| maxMemberCount | integer | 最大ユーザー数 |
| status | string | 顧客企業の状態
required Allowed values : ACTIVE, SUSPENDED_ADMIN, SUSPENDED_WITHDRAWAL |
Example 1
1{2 "usages": [3 {4 "productGroupId": "WORKS",5 "usedDate": "2019-08-24",6 "productId": "FR",7 "plan": "FREE",8 "licenseCount": 0,9 "memberCount": 0,10 "maxMemberCount": 0,11 "status": "ACTIVE"12 }13 ]14}