GET/partners/customers/{domainId}/usages
Gets customer usage information.
OAuth 2.0 authentication. For more information, see Authentication and Authorization.
partner
partner.read
| Parameter | Type | Description |
|---|---|---|
| domainId | integer | Domain ID required example : 10000001 |
| Parameter | Type | Description |
|---|---|---|
| year | integer | Year required example : 2021 |
| month | integer | Month required minimum : 1 maximum : 12 example : 6 |
| productGroupId | string | Plan group ID
Allowed values : WORKS |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
OK
| Property | Type | Description |
|---|---|---|
| usages | array (Usages) | The usage is metered at midnight every day, including the subscription, plan, and number of users. |
| Property | Type | Description |
|---|---|---|
| productGroupId | string | Plan group ID
required Allowed values : WORKS, NOTE_AI, ROGER |
| usedDate | string | Date required format : date readOnly : true |
| productId | string | Plan ID
required Allowed values : STD_T, ADV_T, STD, ADV |
| plan | string | Contract type
Applicable contract types by plan group
required Allowed values : TRIAL, MONTHLY, ANNUAL_LICENSE, ANNUAL_PREPAY_LICENSE |
| licenseCount | integer | Number of licenses readOnly : true |
| memberCount | integer | Number of users readOnly : true |
| maxMemberCount | integer | Maximum number of users |
| status | string | Customer status
required Allowed values : ACTIVE, SUSPENDED_ADMIN, SUSPENDED_WITHDRAWAL |
Example 1
1{2 "usages": [3 {4 "productGroupId": "WORKS",5 "usedDate": "2019-08-24",6 "productId": "STD_T",7 "plan": "TRIAL",8 "licenseCount": 0,9 "memberCount": 0,10 "maxMemberCount": 0,11 "status": "ACTIVE"12 }13 ]14}