skip to main content
User-Provisioning API : Retrieve Usage Details of all Accounts
 

Try DataDirect Cloud Now

Retrieve Usage Details of all Accounts

Title

Retrieve usage details of all accounts.

Purpose

Retrieves the usage details of user accounts that an Administrator creates.

URL

https://service.datadirectcloud.com/api/mgmt/users/usage

Method

GET

URL Parameters

Parameter
Valid Values
startDate
Date in yyyy-mm-dd format
endDate
Date in yyyy-mm-dd format

Sample Server Response

{
"total": 2,
"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"
}
]
},
{
"loginId": "d2coemuser102",
"startDate": "2014-06-17T00:00:00.000+00:00",
"endDate": "2014-06-26T00:00:00.000+00:00",
"usageData": [
{
"name": "Data Transfer",
"value": 200.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.