Skip to main content

List activities

GET /v1/activities

Activities across your routes.

Authentication​

Send a token issued in the Zoopit dashboard as Authorization: Bearer <token>.

Query parameters​

NameTypeRequired
selectarray of "actual_amounts" | "attributes" | "created_at" | "created_by" | "deleted_at" | "deleted_by" | "id" | "job" | "location_id" | "logs" | "modified_at" | "modified_by" | "owners" | "route_id" | "status" | "status_at" | "status_description" | "status_reason" | "tags" | "task_id" | "time" | "type" | "type_alias"
wherearray of object
orderarray of array of tuple
offsetnumber
limitnumber

Responses​

200​

resource: array of PartialActivityWithId

FieldTypeRequired
timearray of tuple
attributesobject
type"break" | "delivery" | "end" | "pickup" | "replacement" | "service" | "start"
status"COMPLETED" | "CREATED" | "FAILED"
route_idnull or string
created_atstring
modified_atnull or string
deleted_atnull or string
created_bystring
modified_bynull or string
deleted_bynull or string
ownersarray of string
tagsarray of string
status_descriptionnull or string
type_aliasnull or string
logsarray of string
jobnull or string
status_atnull or string
status_reasonnull or string
actual_amountsobject or null
task_idnull or string
location_idnull or string
idstringyes

Example​

curl -X GET 'https://routes-api.cloud.zoopit.no/v1/activities'
-H 'Authorization: Bearer <token>'

Try it in the interactive Routes API reference.

Field descriptions, guides and worked examples are in the full reference, available to customers in the Zoopit dashboard under Accounts → Developer.