Use this API to get the usage summary of a domain.
Method |
URL |
Authentication |
---|---|---|
GET |
/V1/CMDB/Users/UsageReport |
Yes |
Name |
Description |
---|---|
Token*required |
Place the token received from the API Log in to get an authentication token. |
tenantId |
Tenant ID. |
domainId |
Domain ID. |
fromDate |
The start time. If not specified, use the initialization time when the system was installed. |
toDate |
The end time. If not specified, use the current time. |
Parameter |
Type |
Description |
Example |
---|---|---|---|
usageReport |
object |
The returned usage report. It contains the following parameters: ▪username: the name of a user. ▪ofLogins: the number of logins to the system. ▪lastLogoutTime: the time of the last logout of a user. ▪totalOnlineTime: the total online time of a user. ▪ofLoginFailureDueToSeatLicense: the number of login failures due to seat license. |
{ |
statusCode |
integer |
The returned status code of executing the API. |
|
statusDescription |
string |
The explanation of the status code. |