Mục lục tài liệu
GET
/addons/route-optimization/jobs
List visible jobs for the API-key client
Đường dẫn
GET
/api/v1/partners/addons/route-optimization/jobsXá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" \
-H "api-key: YOUR_API_KEY"Tham số
| Tên | Vị trí | Kiểu | Bắt buộc | Mô tả |
|---|---|---|---|---|
| page | query | integer | Không | Page number, 1-indexeddefault: 1 |
| size | query | integer | Không | Number of jobs per pagedefault: 10 |
| status | query | QUEUED | PROCESSING | SUCCEEDED | PARTIAL | FAILED | CANCELLED | Không | Filter jobs by status |
| portal_id | query | integer | Không | A 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 |
| date | query | string | Không | Only 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