Create a schedule
POST /v1/solver_schedules
Plans automatically on a recurring schedule.
Authentication
Send a token issued in the Zoopit dashboard as Authorization: Bearer <token>.
Request body
| Field | Type | Required |
|---|---|---|
name | string | yes |
schedule_id | string | yes |
orders_filter | object | yes |
fleet_actors_filter | object | yes |
planning_config_id | null or string | yes |
owner | string | yes |
run_after | string | yes |
tags | array of string | |
attributes | object |
Responses
201
resource: SolverSchedule
| Field | Type | Required |
|---|---|---|
run_after | string | yes |
schedule_id | string | yes |
orders_filter | object | yes |
fleet_actors_filter | object | yes |
planning_config_id | null or string | yes |
name | string | yes |
owner | string | yes |
id | string | yes |
created_at | string | yes |
modified_at | null or string | yes |
deleted_at | null or string | yes |
created_by | string | yes |
modified_by | null or string | yes |
deleted_by | null or string | yes |
owners | array of string | yes |
tags | array of string | yes |
attributes | object | yes |
Example
curl -X POST 'https://routes-api.cloud.zoopit.no/v1/solver_schedules'
-H 'Authorization: Bearer <token>'
-H 'Content-Type: application/json'
-d '{ ... }'
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.