Get Tasks
Retrieve all tasks from Last Mile Intelligence.
Operation
Section titled “Operation”getTask
Resource
Section titled “Resource”task
Parameters
Section titled “Parameters”| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| Task ID | string | No | - | Leave empty to retrieve all tasks |
Response
Section titled “Response”Success
Section titled “Success”[ { "id": "task_abc123", "title": "Equipment Maintenance", "status": "in_progress", "priority": "high", "dueDate": "2024-06-25" }, { "id": "task_def456", "title": "License Renewal", "status": "pending", "priority": "medium", "dueDate": "2024-07-01" }]{ "success": false, "error": "Failed to retrieve tasks"}Error Handling
Section titled “Error Handling”- Missing API Token: LMI credential is missing API token
- Permission Denied: API token lacks permission for this operation