skip to main content
User-Provisioning API : Retrieve Usage Details of a Particular Account
 

Try DataDirect Cloud Now

Retrieve Usage Details of a Particular Account

Title

Retrieve usage details of a particular account.

Purpose

Retrieves the usage details of the login ID specified in the URL.

URL

https://service.datadirectcloud.com/api/mgmt/users/<loginId>/usage

Method

GET

URL Parameters

Parameter
Description
startDate
Date in yyyy-mm-dd format
endDate
Date in yyyy-mm-dd format
children
True| False.
Default: True
If set to True, this parameter returns the total usage of the login ID specified in the URL and of the accounts created by the user, if any.
If set to False, it returns only the usage of the login ID specified in the URL.

Sample Server Response


{
"total": 1,
"usage":
[
{
"loginId": "d2coemuser101",
"startDate": "2014-06-17T00:00:00.000+00:00",
"endDate": "2014-06-26T00:00:00.000+00:00",
"usageData":
[
{
"name": "Data Transfer",
"value": 300.45,
"units": "MB",
"lastAccountedDate": "2014-06-10T07:37:01.000+00:00"
}
]
}

]
}

Authentication

Basic Auth using login ID and password.

Authorization

Accessible to the DataDirect Cloud Administrator.