List Row Counts
Changed onRetrieve row counts by model for a connection. Omit groupBy for totals over the date range, use groupBy=day for daily rows, use groupBy=vehicle for per-vehicle totals, or combine both (for example groupBy=day,vehicle) for per-day, per-vehicle rows.
Request
- Base URLhttps://api.withterminal.com/tsp/v1
- URLhttps://api.withterminal.com/tsp/v1/ingestion/row-counts
- AuthHTTP bearer
Query parameters
Include records from on or after a specific date.
Include records from on or before a specific date.
Used to control the aggregation of row counts. Use 'day' for daily rows, 'vehicle' for per-vehicle totals over the range, or combine both keys for per-day, per-vehicle rows. Omit this field for totals over the full date range.
Comma separated list of vehicle IDs to filter by. Only supported for vehicle-based models. Each ID must use the vcl_ prefix.
Comma separated list of model names to include.
Pagination cursor to start requests from
The maximum number of results to return in a page.
Headers
Scopes the request to a Terminal application in the caller's organization. Required for multi-application organizations when using a user session or OAuth access token. API keys are already bound to a single application.
The token returned when a user authenticated their account. This authorizes access to a specific account.
Response
OK
Example response
{
"results": [
{
"vehicle": "vcl_01D8ZQFGHVJ858NBF2Q7DV9MNC"
}
],
"next": "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw"
}Changes
- info
endpoint added
- info