v1

latestOpenAPI 3.1.02026-07-245531,0212.1 MB
Chargeback and Telemetry Reports

Get MSP Chargeback Tenant Consumption Monthly Report

Provides a monthly overview of customer product modules, focusing on usage trends and license-level details.

post/msp/reporting/v2/reports/mspChargebackTenantConsumptionMonthlyReport

Headers

Authorizationstring required

Specify the Bearer access token

Request body

pageTokenstring

The token to access the next page of results. Use the token value received in the previous response's parameter 'nextPageToken'.

  • Keep this field blank in the first request.

Example request

{
  "pageToken": "eyJwYWdlTnVtYmVyIjoyLCJwYWdlU2l6ZSI6NTAwLCAiZmlsdGVycyI6bnVsbH0=",
  "filters": {
    "pageSize": 10,
    "filterBy": [
      {
        "fieldName": "customerGlobalId",
        "value": "b825cee3-5780-45ca-bc1d-83a9ccec5d7b",
        "operator": "EQUAL"
      }
    ]
  }
}

Response

Ok

nextPageTokenstring

The token to access the next page of results. This parameter will be empty for the last page of results.

lastSyncTimestampstring date

Last time sync up timestamp date. Sync up time does not guarantee that consumption stats till this time are included in reported stats. Reported consumption stats may be stale upto 48 hours.

Example response

{
  "data": [
    {
      "date": "2025-02-01T00:00:00.000Z",
      "customerName": "Example customer",
      "accountName": "Example customer",
      "customerGlobalId": "bde7f8c2-d063-4a4a-9a8f-c2ea5aff42f3-198",
      "productId": 2,
      "productName": "SaaS Apps and Endpoints",
      "productModule": "Endpoints",
      "productModuleId": 3,
      "instanceId": 1234567890,
      "servicePlanId": 2,
      "servicePlanName": "Example service plan",
      "entityName": "Total Licensed Active Users",
      "units": "Count",
      "maxValueForMonth": 123456,
      "lastDayOfMonth": 123456,
      "averageValueForMonth": 123456,
      "sumOfValuesForMonth": 123456,
      "dcpUniqueKey": "abcd1234pqrs567890"
    },
    {
      "date": "2025-02-01T00:00:00.000Z",
      "customerName": "Example customer",
      "accountName": "Example customer",
      "customerGlobalId": "bde7f8c2-d063-4a4a-9a8f-c2ea5aff42f3-198",
      "productId": 1,
      "productName": "Enterprise Workloads",
      "productModule": "Enterprise Workloads",
      "productModuleId": 1,
      "instanceId": 1234567890,
      "servicePlanId": 2,
      "servicePlanName": "Example service plan",
      "entityName": "Frontend Source Storage",
      "units": "TB",
      "maxValueForMonth": 12.345678,
      "lastDayOfMonth": 12.345678,
      "averageValueForMonth": 12.345678,
      "sumOfValuesForMonth": 12.345678,
      "dcpUniqueKey": "abcd1234pqrs567890"
    }
  ],
  "nextPageToken": "eyJwYWdlTnVtYmVyIjoyLCJwYWdlU2l6ZSI6NTAwLCAiZmlsdGVycyI6bnVsbH0=",
  "filters": {
    "pageSize": 10,
    "filterBy": [
      {
        "fieldName": "customerGlobalId",
        "value": "b825cee3-5780-45ca-bc1d-83a9ccec5d7b",
        "operator": "EQUAL"
      }
    ]
  },
  "lastSyncTimestamp": "2023-01-11T00:00:00.000Z"
}