Retrieve device-level usage by timeframe

This endpoint provides detailed device-level usage data for all available products for a specified timeframe.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

❗️

Current month data can only be pulled from the 10th of the month onward.

📘

This endpoint is for use by Indirect and direct customers

🚧

Only devices rooted at the end customer level (Level 7) show in this API. It is recommended that all devices be rooted at this level within the product.

The detailed usage data is structured as a nested format, providing comprehensive records for all end customers (clients) per product.

Each client record includes:

A list of devices with detailed information. Aggregated total usage by service for each customer, including metrics such as the amount of usage, price, and associated product features.

Sample response

{
  "UsageDetailDevices":[
	{
    "AccountName": "Best MSP",
    "BpAccountId": 12348,
    "Cid": "234578",
    "ContractId": 234578,
    "ContractNumber": "MSP-234578-01",
    "ContractStatus": "ACTIVE",
    "Created": "2021-01-04 20:02:13.470",
    "PgaCode": "0100",
    "Pid": "0118M-0000-0000-UK",
    "ProductName": "Cove Data Protection | Data Protection Plan | MSP",
    "RateClassId": "234567",
    "SfdcAccountId": "001H234578asdfIAS",
    "TenantId": "0100_678905",
    "TimeFrame": 202405,
    "Updated": "2023-12-31 22:09:37.204",
    "TotalByContracts": [
        {
            "AccountName": "Best MSP",
            "BpAccountId": "345678",
            "Cid": "234578",
            "ContractId": "234567",
            "ContractNumber": "MSP-234578-01",
          	"SfdcAccountId": "001H234578asdfIAS",
						"AdditionalCapacity": [
                        {
                            "AdditionalCapacity": "-1835.062000000002",
                            "SelectedGbUsageQuantity": "2714.937999999998",
                            "Servers": {
                                "CommittedCount": 4,
                                "DeviceCount": 5,
                                "FUP": 2000,
                                "Pool": 10000,
                                "UsageCount": 5
                            },
                            "TimeFrame": 202405,
                            "TotalPool": 45500,
                            "UsedGB": "2714.937999999998",
                            "UsedGbUsageQuantity": "4514.326999999997",
                            "VirtualServers": {
                                "CommittedCount": 17,
                                "DeviceCount": 17,
                                "UsageCount": 15
                            },
                            "Workstations": {
                                "CommittedCount": 2,
                                "DeviceCount": 3,
                                "FUP": 500,
                                "Pool": 1500,
                                "UsageCount": 3
                            }
                        }
            ]

        }
    ],
    "Clients": [
      {
				"ClientId": 2712428,
        "Devices": [
          {
            "Detail": "user",
            "DetailId": "deviceid",
            "Customer Site Name": "site",
            "UsageCompanyName": "customername",
            "UsageLevel_5": "Best MSP",
            "UsageLevel_3": "Distributor",
            "TotalByService": [
              {
                "BillingServiceName": "Cove Data Protection | Microsoft 365 Protection",
                "ProductFeatureName": "0100_O365_PROTECTION",
                "Quantity": 1,
                "Sku": "MSPUK-BU-O365PRO",
                "Uom": "Users"
              }
            ]
          }
        ],
        "Name": "Best MSP",
        "TotalByService": [
          {
            "BillingServiceName": "Cove Data Protection | Microsoft 365 Protection",
            "ProductFeatureName": "0100_O365_PROTECTION",
            "Quantity": 3,
            "Sku": "MSPUK-BU-O365PRO",
            "Uom": "Users"
          }
        ]
      }
    ]
  }
 ]
}

Path Params
string
required

The billing period in YYYYMM format. Example: '202401'.

string
required

Salesforce account ID for the requesting MSP. Example: '00v99902zVlGFFIAS'.

Headers
string

API key retrieved from developer portal. Required for authorisation.

string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
*/*