Calculate aggregated report per day with number of sessions and usage information. User will receive an asynchronous callback for the specified list of devices (Max 10000) and date range (Max 180 days).
thingspace_oauth VZ-M2M-Token This is the ThingSpace token, from Credentials and Tokens is used
In: header
The VZ-M2M session token from Credentials and Tokens
In: header
application/json
Aggregated session report request.
TypeScript Definitions
Use the request body type in TypeScript.
Request for getting an aggregated session report.
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/report/async/aggregate" \ -H "Content-Type: application/json" \ -d '{ "accountNumber": "0000123456-00001", "startDate": "2022-12-09T22:01:06.217Z", "endDate": "2022-12-09T22:01:08.734Z", "imei": [ "15-digit IMEI" ], "deviceGroup": "string", "dataPlan": "string", "noSessionFlag": false }'{ "txid": "60c07fff-eeee-ffff-gggg-75e6a7c238f6", "status": "QUEUED"}"{\n \"responseCode\": \"INVALID_PARAMETER\",\n \"message\": \"Device Not Found, Request will be queued\"\n}""{\n \"responseCode\": \"INVALID_ACCESS\",\n \"message\": \"The access policy denied the resource operation for this user\"\n}""{\n \"responseCode\": \"INVALID_PARAMETER\",\n \"message\": \"Device Not Certified\"\n}""{\n \"responseCode\": \"INVALID_PARAMETER\",\n \"message\": \"Device Inactive\"\n}""{\n \"responseCode\": \"INVALID_PARAMETER\",\n \"message\": \"Service Not Purchased\"\n}""{\n \"responseCode\": \"INTERNAL_ERROR\",\n \"message\": \"Device is active in several accounts\"\n}"The numeric ID of the account and must include leading zeroes. This value is indentical to accountName.
Start date of session to include. If not specified information will be shown from the earliest available (180 days). Can be either date in ISO 8601 format or predefined constants.
End date of session to include. If not specified information will be shown to the latest available. Can be either date in ISO 8601 format or predefined constants.
Devices for which return usage info. Could be 0, 1 or more. In case of 0 will return all devices belonging to customer (except of filtered by other parameters).
Optional filter — only include devices matching this device group name.
Optional filter — only include devices matching this carrier rate plan code.
Optional filter — when "true", returns only devices with no sessions.