Skip to main content

Get a planner request

GET /v1/planner_requests/{id}

One planning run: its input statistics, job_status, and — once it has succeeded — the solution and output_stats.

Authentication​

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

Path parameters​

NameTypeRequired
idstringyes

Query parameters​

NameTypeRequired
selectarray of "attributes" | "auto_save_routes" | "continued_from_parent" | "created_at" | "created_by" | "deleted_at" | "deleted_by" | "edges" | "error" | "fleets" | "id" | "ignore_capacity" | "ignore_delivery_window" | "ignore_driver_shifts" | "ignore_pickup_window" | "ignore_skills" | "ignore_sorting" | "initial_solution" | "input_stats" | "job_status" | "jobs" | "main_plan_id" | "modified_at" | "modified_by" | "objectives" | "output_stats" | "owners" | "parent_planner_request_id" | "problem" | "relations" | "request_id" | "requested_solver_name" | "routes_conditions" | "solution" | "solver_id" | "solver_request_id" | "sort_by" | "sort_type" | "tags" | "with_traffic_eta"
relatedboolean

Responses​

200​

resource: PartialPlannerRequestWithId

FieldTypeRequired
attributesobject
errorobject
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
request_idstring
requested_solver_namestring
solver_idstring
solver_request_idstring
input_statsobject
output_statsobject
solutionobject
problemobject
job_status"failure" | "queued" | "running" | "success"
jobsarray of object or null
fleetsarray of object or null
with_traffic_etanull or boolean
auto_save_routesnull or boolean
objectivesarray of Objective or null
parent_planner_request_idnull or string
main_plan_idnull or string
routes_conditionsarray of object or null
sort_type"delivery" | "pickup" or null
sort_bynull or string
ignore_sortingnull or boolean
ignore_skillsnull or boolean
ignore_capacitynull or boolean
ignore_driver_shiftsnull or boolean
ignore_pickup_windownull or boolean
ignore_delivery_windownull or boolean
edgesarray of object or null
initial_solutionobject or null
continued_from_parentboolean
relationsarray of object
idstringyes

Example​

curl -X GET 'https://routes-api.cloud.zoopit.no/v1/planner_requests/{id}'
-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.