Skip to main content

Count tasks

GET /v1/tasks/count

The number of tasks matching where.

Authentication​

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

Query parameters​

NameTypeRequired
offsetnumber
limitnumber
orderarray of array of tuple
wherearray of object
selectarray of "_places_time_windows_earliest_end" | "_places_time_windows_earliest_start" | "_places_time_windows_latest_end" | "_places_time_windows_latest_start" | "amounts" | "attributes" | "created_at" | "created_by" | "deleted_at" | "deleted_by" | "id" | "modified_at" | "modified_by" | "order_id" | "owners" | "places" | "tags" | "type" | "type_alias"

Responses​

200​

resource: number

Example​

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

Try it in the interactive Orders API reference.

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