Skip to main content

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​

FieldTypeRequired
namestringyes
schedule_idstringyes
orders_filterobjectyes
fleet_actors_filterobjectyes
planning_config_idnull or stringyes
ownerstringyes
run_afterstringyes
tagsarray of string
attributesobject

Responses​

201​

resource: SolverSchedule

FieldTypeRequired
run_afterstringyes
schedule_idstringyes
orders_filterobjectyes
fleet_actors_filterobjectyes
planning_config_idnull or stringyes
namestringyes
ownerstringyes
idstringyes
created_atstringyes
modified_atnull or stringyes
deleted_atnull or stringyes
created_bystringyes
modified_bynull or stringyes
deleted_bynull or stringyes
ownersarray of stringyes
tagsarray of stringyes
attributesobjectyes

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.