Get Usage Details
This API can be used to obtain latest usage details in certain month. All dates in usage detail API refer to UTC time zone.
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
data object[]
List of usage details
usageMonth stringUsage month
accountId stringAccount ID in Metallic System
skuId stringService sku ID in Metallic System
quantity integerUsage quantity
unit stringMeasurement for quantity, e.g. user / instance / MB
instanceType stringInstance type
instanceName stringInstance name
exchangeMailbox integerNumber of exchange users For Office 365 service only.
sharepointOnline integerNumber of Sharepoint users For Office 365 service only.
oneDrive integerNumber of oneDrive users For Office 365 service only
instanceSize numberInstance size For VM service only.
username stringUser name For Endpoint service only.
userLogin stringUser login name For Endpoint service only.
metadata object
Meta Data Object
filter stringFilter string that contains search parameters
sort stringSort string that contains sorting criteria
pagination object
Pagination Info
pageNumber integerPage Number
pageSize integerPage Size
totalRecords integerTotal Records
{
"data": [
{
"usageMonth": "string",
"accountId": "string",
"skuId": "string",
"quantity": 0,
"unit": "string",
"instanceType": "string",
"instanceName": "string",
"exchangeMailbox": 0,
"sharepointOnline": 0,
"oneDrive": 0,
"instanceSize": 0,
"username": "string",
"userLogin": "string"
}
],
"metadata": {
"filter": "string",
"sort": "string",
"pagination": {
"pageNumber": 0,
"pageSize": 0,
"totalRecords": 0
}
}
}
Loading...