Chuyển đến nội dung chính
Mục lục tài liệu
GET

/addons/route-optimization/jobs

List visible jobs for the API-key client

Mở trong ChatGPTMở trong Claude

Đường dẫn

GET/api/v1/partners/addons/route-optimization/jobs
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" \
  -H "api-key: YOUR_API_KEY"

Tham số

TênVị tríKiểuBắt buộcMô tả
pagequeryintegerKhôngPage number, 1-indexeddefault: 1
sizequeryintegerKhôngNumber of jobs per pagedefault: 10
statusqueryQUEUED | PROCESSING | SUCCEEDED | PARTIAL | FAILED | CANCELLEDKhôngFilter jobs by status
portal_idqueryintegerKhôngA workspace: only the jobs submitted from this portal of the key's client. Access is unchanged: a key still sees every job of its client
datequerystringKhôngOnly the jobs that plan this date (YYYY-MM-DD). With portal_id and each job's parent_job_id and origin, this is the plan tree of a workspace for one day

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ề

200Paginated jobs visible to this API-key client, wrapped in the success envelope; read the page at data and pagination at meta

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

GET /addons/route-optimization/jobs | Route4Green