GET api/Vendor/GetTaskList/{UserGUID}/{LocationData}
Get Task List
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
UserGUID |
Unique system generated user identifier |
string |
Required |
LocationData |
Geocoded location data from device |
string |
None. |
Body Parameters
None.
Response Information
Resource Description
TaskListResponseName | Description | Type | Additional information |
---|---|---|---|
Tasks | Collection of TaskItem |
None. |
|
IsSuccessful |
Used to determine if method call was successful (true) or failure (false) |
boolean |
Required |
ErrorMessage |
The error message if method call was not successful |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Tasks": [ { "EntityGUID": "sample string 1", "EntityType": "sample string 2", "EntityNumber": "sample string 3", "TaskType": "sample string 4", "DisplayHeader": "sample string 5", "DisplayDateTime": "sample string 6", "DisplayLocation": "sample string 7", "OrderNumber": "sample string 8", "IsRed": "sample string 9", "SearchKeys": "sample string 10" }, { "EntityGUID": "sample string 1", "EntityType": "sample string 2", "EntityNumber": "sample string 3", "TaskType": "sample string 4", "DisplayHeader": "sample string 5", "DisplayDateTime": "sample string 6", "DisplayLocation": "sample string 7", "OrderNumber": "sample string 8", "IsRed": "sample string 9", "SearchKeys": "sample string 10" } ], "IsSuccessful": true, "ErrorMessage": "sample string 2" }
application/xml, text/xml
Sample:
<TaskListResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParcelLogic.WebApi.Mobile.Models"> <ErrorMessage>sample string 2</ErrorMessage> <IsSuccessful>true</IsSuccessful> <Tasks> <TaskItem> <DisplayDateTime>sample string 6</DisplayDateTime> <DisplayHeader>sample string 5</DisplayHeader> <DisplayLocation>sample string 7</DisplayLocation> <EntityGUID>sample string 1</EntityGUID> <EntityNumber>sample string 3</EntityNumber> <EntityType>sample string 2</EntityType> <IsRed>sample string 9</IsRed> <OrderNumber>sample string 8</OrderNumber> <SearchKeys>sample string 10</SearchKeys> <TaskType>sample string 4</TaskType> </TaskItem> <TaskItem> <DisplayDateTime>sample string 6</DisplayDateTime> <DisplayHeader>sample string 5</DisplayHeader> <DisplayLocation>sample string 7</DisplayLocation> <EntityGUID>sample string 1</EntityGUID> <EntityNumber>sample string 3</EntityNumber> <EntityType>sample string 2</EntityType> <IsRed>sample string 9</IsRed> <OrderNumber>sample string 8</OrderNumber> <SearchKeys>sample string 10</SearchKeys> <TaskType>sample string 4</TaskType> </TaskItem> </Tasks> </TaskListResponse>