service_trips

Aggregate road calls

One number, or one number per group, over the same filters as the list. metric is count or sum:col, avg:col, min:col, max:col; add group_by=col for up to 1000 groups, largest first.

get/service_trips/aggregate

Request

  • Base URL: https://app.torgix.ai/v1
  • URL: https://app.torgix.ai/v1/service_trips/aggregate
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://app.torgix.ai/oauth/authorize, token URL https://app.torgix.ai/oauth/token, scopes: read)

Query parameters

metricstring required

count, or sum:col, avg:col, min:col, max:col.

group_bystring

Column to group by.

changed_sincestring date-time

Only records updated/created at or after this ISO-8601 time.

include_deletedboolean

Include soft-deleted rows.

Response

The metric.

metricstring
group_bystring
request_idstring

Changes

No recorded changes to this operation across all 1 revision of this API.