Docs menu
GET
/addons/route-optimization/jobs/{jobId}/input
Get what a job was planned with
The job's orders, vehicles and optimization options, rebuilt from what was stored when it was planned, so a client can show each stop's weight and each vehicle's capacity or submit the day again with a change. Coordinates only: no addresses, names or phones. Vehicle working times and start points are those the engine planned with: when a vehicle was busy in another job, that is its remaining availability. Any status; not a run.
Path
GET
/api/v1/partners/addons/route-optimization/jobs/{jobId}/inputAuthentication required
api-keycurl example
curl -X GET "https://api.route4green.com/api/v1/partners/addons/route-optimization/jobs/{jobId}/input" \
-H "api-key: YOUR_API_KEY"Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| jobId | path | string (uuid) | Yes |
Request body
This endpoint takes no request body.
Responses
200The input, wrapped in the success envelope; read it at data404ROUTE_OPT_JOB_NOT_FOUND409ROUTE_OPT_INPUT_UNAVAILABLE: the job was never queued (a submission that failed before it was stored)410RESULT_PURGED: the job data was deleted after the retention period