Chuyển đến nội dung chính
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.

Mở trong ChatGPTMở trong Claude

Đường dẫn

GET/api/v1/partners/addons/route-optimization/jobs/{jobId}/input
Xác thực yêu cầuapi-key

Ví 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ênVị tríKiểuBắt buộcMô tả
jobIdpathstring (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 data
404ROUTE_OPT_JOB_NOT_FOUND
409ROUTE_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

Về nhóm: Tối ưu tuyến đường

GET /addons/route-optimization/jobs/{jobId}/input | Route4Green