GET api/order/{OrderID}/Task
This API method returns a list of tasks that must be actioned. These tasks are filtered by the orderID.
Error Messages
- 404/Not Found - No order found with id - Specified Order ID does not exist.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| OrderID | ID of order service | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
List of TaskView
TaskView| Name | Description | Type | Additional information |
|---|---|---|---|
| TaskID | ID number of task | integer |
None. |
| TaskType | Textual summary of task | string |
None. |
| OrderID | The Order ID | integer |
None. |
| OrderServiceID | The Order Service ID | integer |
None. |
| OrderServiceName | Name of Order Service | string |
None. |
| Notes | General Notes | string |
None. |
| IsComplete | boolean - no further action required if set to true | boolean |
None. |
| DateAdded | The date the task was created | date |
None. |
| OwnerName | The Owner Name | string |
None. |
| Values | If task is complete then the complete vaule will apear here | string |
None. |
| SelectableValues | List of acceptable values that can be set in order to complete task | Collection of string |
None. |