Mục lục tài liệu
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.
Đường dẫn
GET
/api/v1/partners/addons/route-optimization/jobs/{jobId}/inputXác thực yêu cầu
api-keyVí dụ gọi bằng curl
curl -X GET "https://api.route4green.com/api/v1/partners/addons/route-optimization/jobs/{jobId}/input" \
-H "api-key: YOUR_API_KEY"Tham số
| Tên | Vị trí | Kiểu | Bắt buộc | Mô tả |
|---|---|---|---|---|
| jobId | path | string (uuid) | Có |
Nội dung gửi lên
Endpoint này không nhận nội dung gửi lên.
Kết quả trả về
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