Order Tasks Controller
Get task by ID for an order
get/orders/{orderId}/tasks/{taskId}
Path parameters
orderIdnumber required
taskIdnumber required
Response
Task retrieved successfully
Example response
{
"id": 1,
"orderId": 1001,
"title": "Follow up with customer",
"description": "Call customer about documents",
"status": {
"id": 1,
"status": "To Do",
"backgroundColor": "#6B7280",
"textColor": "#FFFFFF",
"borderColor": "#4B5563"
},
"priority": "medium",
"assignedToUser": {
"id": 5,
"firstName": "John",
"lastName": "Doe",
"email": "john@example.com"
},
"createdByUser": {
"id": 5,
"firstName": "John",
"lastName": "Doe",
"email": "john@example.com"
},
"media": [
{
"id": 1,
"filename": "document.pdf",
"url": "https://s3.amazonaws.com/bucket/uploads/tasks/uuid.pdf",
"contentType": "application/pdf",
"size": 1024
}
]
}Changes
No recorded changes to this endpoint across all 1 revision of this API.