POST Api/TaskEx/GetTasks
Request Information
URI Parameters
None.
Body Parameters
TaskParameter| Name | Description | Type | Additional information |
|---|---|---|---|
| ClientID | globally unique identifier |
None. |
|
| DriverID | globally unique identifier |
None. |
|
| DriverCode | string |
None. |
|
| FromDate | date |
None. |
|
| ToDate | date |
None. |
|
| TaskStatus | Collection of integer |
None. |
|
| GroupID | globally unique identifier |
None. |
|
| StopTypes | Collection of integer |
None. |
|
| SubClientID | globally unique identifier |
None. |
|
| TerritoryFenceID | globally unique identifier |
None. |
|
| MerchantID | globally unique identifier |
None. |
|
| TimeWindowID | globally unique identifier |
None. |
|
| SearchText | string |
None. |
|
| TimeWindowFilter | Collection of globally unique identifier |
None. |
|
| City | string |
None. |
|
| CityAndAreaID | globally unique identifier |
None. |
|
| IsGetPendingTasks | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"ClientID": "96c4d0b8-b380-41da-8a31-e183545a2fa4",
"DriverID": "91372abf-c741-42ca-88b2-dc88da09b77c",
"DriverCode": "sample string 3",
"FromDate": "2026-06-06T09:21:27.5864797+04:00",
"ToDate": "2026-06-06T09:21:27.5864797+04:00",
"TaskStatus": [
1,
2
],
"GroupID": "dbccf1fd-5669-4afd-9c1b-3badf0c1eb5d",
"StopTypes": [
1,
2
],
"SubClientID": "0839043f-bf06-4405-824d-0e76b2c395da",
"TerritoryFenceID": "5c477d98-7fe5-4514-bb72-56c4c071c04b",
"MerchantID": "4c88bfec-bb6d-41a6-a53a-c39e8bf25fc2",
"TimeWindowID": "f2f9c42e-0e47-4c30-b80b-ee7ec1c8d10f",
"SearchText": "sample string 11",
"TimeWindowFilter": [
"cc3eb6df-39e0-4da2-82e1-d6b8d17bc4ef",
"edc93564-9c62-468c-8b25-e1a87794382b"
],
"City": "sample string 12",
"CityAndAreaID": "d32960d8-bb36-416a-90d9-7297eb0e1657",
"IsGetPendingTasks": true
}
application/xml, text/xml
Sample:
<TaskParameter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity.Tasks">
<City>sample string 12</City>
<CityAndAreaID>d32960d8-bb36-416a-90d9-7297eb0e1657</CityAndAreaID>
<ClientID>96c4d0b8-b380-41da-8a31-e183545a2fa4</ClientID>
<DriverCode>sample string 3</DriverCode>
<DriverID>91372abf-c741-42ca-88b2-dc88da09b77c</DriverID>
<FromDate>2026-06-06T09:21:27.5864797+04:00</FromDate>
<GroupID>dbccf1fd-5669-4afd-9c1b-3badf0c1eb5d</GroupID>
<IsGetPendingTasks>true</IsGetPendingTasks>
<MerchantID>4c88bfec-bb6d-41a6-a53a-c39e8bf25fc2</MerchantID>
<SearchText>sample string 11</SearchText>
<StopTypes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</StopTypes>
<SubClientID>0839043f-bf06-4405-824d-0e76b2c395da</SubClientID>
<TaskStatus xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</TaskStatus>
<TerritoryFenceID>5c477d98-7fe5-4514-bb72-56c4c071c04b</TerritoryFenceID>
<TimeWindowFilter xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>cc3eb6df-39e0-4da2-82e1-d6b8d17bc4ef</d2p1:guid>
<d2p1:guid>edc93564-9c62-468c-8b25-e1a87794382b</d2p1:guid>
</TimeWindowFilter>
<TimeWindowID>f2f9c42e-0e47-4c30-b80b-ee7ec1c8d10f</TimeWindowID>
<ToDate>2026-06-06T09:21:27.5864797+04:00</ToDate>
</TaskParameter>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of TaskViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| TaskID | globally unique identifier |
None. |
|
| TaskOn | date |
None. |
|
| CreatedOn | date |
None. |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| RoutePoint | Collection of RoutePointInTask |
None. |
|
| TimeWindow | TimeWindowViewModel |
None. |
|
| TaskTracking | TaskTrackingViewModel |
None. |
|
| ExpectedStartOn | time interval |
None. |
|
| ExpectedEndOn | time interval |
None. |
|
| Driver | DriverAssigned |
None. |
|
| Vehicle | VehicleAssigned |
None. |
|
| Priority | RoutePointPriority |
None. |
|
| CategorySummary | Collection of CategorySummary |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"TaskID": "6de00b4f-3d78-439c-862c-4fe70ba4f62a",
"TaskOn": "2026-06-06T09:21:27.5864797+04:00",
"CreatedOn": "2026-06-06T09:21:27.5864797+04:00",
"Name": "sample string 4",
"Description": "sample string 5",
"RoutePoint": [
{
"Id": "0f254a9d-a1c2-4d20-a2f9-ca810fab698e",
"RoutePointName": "sample string 2",
"RoutePointStatus": 0,
"POIName": "sample string 3",
"City": "sample string 4",
"RoutePointInfo": {
"Contact": {
"Name": "sample string 1"
},
"Order": {
"OrderID": "sample string 1"
}
},
"TimeWindow": {
"Name": "sample string 1",
"FromTime": "00:00:00.1234567"
},
"ExpEndTime": "2026-06-06T09:21:27.5864797+04:00",
"ActualEndTime": "2026-06-06T09:21:27.5864797+04:00",
"ExpStartTime": "2026-06-06T09:21:27.5864797+04:00",
"ActualStartTime": "2026-06-06T09:21:27.5864797+04:00",
"QRCode": "sample string 9",
"CurrentLat": 10.1,
"CurrentLon": 11.1,
"StopType": 0,
"ParcelPlace": {
"ParcelCount": 1,
"PlaceType1": 0,
"PlaceType2": 0,
"PlaceType3": 0
},
"Priority": 0
},
{
"Id": "0f254a9d-a1c2-4d20-a2f9-ca810fab698e",
"RoutePointName": "sample string 2",
"RoutePointStatus": 0,
"POIName": "sample string 3",
"City": "sample string 4",
"RoutePointInfo": {
"Contact": {
"Name": "sample string 1"
},
"Order": {
"OrderID": "sample string 1"
}
},
"TimeWindow": {
"Name": "sample string 1",
"FromTime": "00:00:00.1234567"
},
"ExpEndTime": "2026-06-06T09:21:27.5864797+04:00",
"ActualEndTime": "2026-06-06T09:21:27.5864797+04:00",
"ExpStartTime": "2026-06-06T09:21:27.5864797+04:00",
"ActualStartTime": "2026-06-06T09:21:27.5864797+04:00",
"QRCode": "sample string 9",
"CurrentLat": 10.1,
"CurrentLon": 11.1,
"StopType": 0,
"ParcelPlace": {
"ParcelCount": 1,
"PlaceType1": 0,
"PlaceType2": 0,
"PlaceType3": 0
},
"Priority": 0
}
],
"TimeWindow": {
"Name": "sample string 1",
"FromTime": "00:00:00.1234567"
},
"TaskTracking": {
"Status": 0,
"TotalDistance": 1.1,
"TotalExpTime": "00:00:00.1234567",
"ActStartOn": "2026-06-06T09:21:27.5864797+04:00",
"ActEndOn": "2026-06-06T09:21:27.5864797+04:00"
},
"ExpectedStartOn": "00:00:00.1234567",
"ExpectedEndOn": "00:00:00.1234567",
"Driver": {
"DriverID": "da30e0e2-325c-4ef9-96d1-894db6598716",
"Name": "sample string 2",
"DriverCode": "sample string 3",
"MobileNo": "sample string 4"
},
"Vehicle": {
"VehicleID": "eed1ad54-e0bd-41d0-af43-a40ba9a47281",
"VehicleNo": "sample string 2"
},
"Priority": 0,
"CategorySummary": [
{
"Name": "sample string 1",
"Qty": 2
},
{
"Name": "sample string 1",
"Qty": 2
}
]
},
{
"TaskID": "6de00b4f-3d78-439c-862c-4fe70ba4f62a",
"TaskOn": "2026-06-06T09:21:27.5864797+04:00",
"CreatedOn": "2026-06-06T09:21:27.5864797+04:00",
"Name": "sample string 4",
"Description": "sample string 5",
"RoutePoint": [
{
"Id": "0f254a9d-a1c2-4d20-a2f9-ca810fab698e",
"RoutePointName": "sample string 2",
"RoutePointStatus": 0,
"POIName": "sample string 3",
"City": "sample string 4",
"RoutePointInfo": {
"Contact": {
"Name": "sample string 1"
},
"Order": {
"OrderID": "sample string 1"
}
},
"TimeWindow": {
"Name": "sample string 1",
"FromTime": "00:00:00.1234567"
},
"ExpEndTime": "2026-06-06T09:21:27.5864797+04:00",
"ActualEndTime": "2026-06-06T09:21:27.5864797+04:00",
"ExpStartTime": "2026-06-06T09:21:27.5864797+04:00",
"ActualStartTime": "2026-06-06T09:21:27.5864797+04:00",
"QRCode": "sample string 9",
"CurrentLat": 10.1,
"CurrentLon": 11.1,
"StopType": 0,
"ParcelPlace": {
"ParcelCount": 1,
"PlaceType1": 0,
"PlaceType2": 0,
"PlaceType3": 0
},
"Priority": 0
},
{
"Id": "0f254a9d-a1c2-4d20-a2f9-ca810fab698e",
"RoutePointName": "sample string 2",
"RoutePointStatus": 0,
"POIName": "sample string 3",
"City": "sample string 4",
"RoutePointInfo": {
"Contact": {
"Name": "sample string 1"
},
"Order": {
"OrderID": "sample string 1"
}
},
"TimeWindow": {
"Name": "sample string 1",
"FromTime": "00:00:00.1234567"
},
"ExpEndTime": "2026-06-06T09:21:27.5864797+04:00",
"ActualEndTime": "2026-06-06T09:21:27.5864797+04:00",
"ExpStartTime": "2026-06-06T09:21:27.5864797+04:00",
"ActualStartTime": "2026-06-06T09:21:27.5864797+04:00",
"QRCode": "sample string 9",
"CurrentLat": 10.1,
"CurrentLon": 11.1,
"StopType": 0,
"ParcelPlace": {
"ParcelCount": 1,
"PlaceType1": 0,
"PlaceType2": 0,
"PlaceType3": 0
},
"Priority": 0
}
],
"TimeWindow": {
"Name": "sample string 1",
"FromTime": "00:00:00.1234567"
},
"TaskTracking": {
"Status": 0,
"TotalDistance": 1.1,
"TotalExpTime": "00:00:00.1234567",
"ActStartOn": "2026-06-06T09:21:27.5864797+04:00",
"ActEndOn": "2026-06-06T09:21:27.5864797+04:00"
},
"ExpectedStartOn": "00:00:00.1234567",
"ExpectedEndOn": "00:00:00.1234567",
"Driver": {
"DriverID": "da30e0e2-325c-4ef9-96d1-894db6598716",
"Name": "sample string 2",
"DriverCode": "sample string 3",
"MobileNo": "sample string 4"
},
"Vehicle": {
"VehicleID": "eed1ad54-e0bd-41d0-af43-a40ba9a47281",
"VehicleNo": "sample string 2"
},
"Priority": 0,
"CategorySummary": [
{
"Name": "sample string 1",
"Qty": 2
},
{
"Name": "sample string 1",
"Qty": 2
}
]
}
]
application/xml, text/xml
Sample:
<ArrayOfTaskViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FleetrootDriver.Service.Models">
<TaskViewModel>
<CategorySummary xmlns:d3p1="http://schemas.datacontract.org/2004/07/Fleetroot.Entity.Tasks">
<d3p1:CategorySummary>
<d3p1:Name>sample string 1</d3p1:Name>
<d3p1:Qty>2</d3p1:Qty>
</d3p1:CategorySummary>
<d3p1:CategorySummary>
<d3p1:Name>sample string 1</d3p1:Name>
<d3p1:Qty>2</d3p1:Qty>
</d3p1:CategorySummary>
</CategorySummary>
<CreatedOn>2026-06-06T09:21:27.5864797+04:00</CreatedOn>
<Description>sample string 5</Description>
<Driver>
<DriverCode>sample string 3</DriverCode>
<DriverID>da30e0e2-325c-4ef9-96d1-894db6598716</DriverID>
<MobileNo>sample string 4</MobileNo>
<Name>sample string 2</Name>
</Driver>
<ExpectedEndOn>PT0.1234567S</ExpectedEndOn>
<ExpectedStartOn>PT0.1234567S</ExpectedStartOn>
<Name>sample string 4</Name>
<RoutePoint>
<RoutePointInTask>
<ActualEndTime>2026-06-06T09:21:27.5864797+04:00</ActualEndTime>
<ActualStartTime>2026-06-06T09:21:27.5864797+04:00</ActualStartTime>
<City>sample string 4</City>
<CurrentLat>10.1</CurrentLat>
<CurrentLon>11.1</CurrentLon>
<ExpEndTime>2026-06-06T09:21:27.5864797+04:00</ExpEndTime>
<ExpStartTime>2026-06-06T09:21:27.5864797+04:00</ExpStartTime>
<Id>0f254a9d-a1c2-4d20-a2f9-ca810fab698e</Id>
<POIName>sample string 3</POIName>
<ParcelPlace xmlns:d5p1="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">
<d5p1:ParcelCount>1</d5p1:ParcelCount>
<d5p1:PlaceType1>None</d5p1:PlaceType1>
<d5p1:PlaceType2>None</d5p1:PlaceType2>
<d5p1:PlaceType3>None</d5p1:PlaceType3>
</ParcelPlace>
<Priority>Standard</Priority>
<QRCode>sample string 9</QRCode>
<RoutePointInfo>
<Contact>
<Name>sample string 1</Name>
</Contact>
<Order>
<OrderID>sample string 1</OrderID>
</Order>
</RoutePointInfo>
<RoutePointName>sample string 2</RoutePointName>
<RoutePointStatus>None</RoutePointStatus>
<StopType>None</StopType>
<TimeWindow>
<FromTime>PT0.1234567S</FromTime>
<Name>sample string 1</Name>
</TimeWindow>
</RoutePointInTask>
<RoutePointInTask>
<ActualEndTime>2026-06-06T09:21:27.5864797+04:00</ActualEndTime>
<ActualStartTime>2026-06-06T09:21:27.5864797+04:00</ActualStartTime>
<City>sample string 4</City>
<CurrentLat>10.1</CurrentLat>
<CurrentLon>11.1</CurrentLon>
<ExpEndTime>2026-06-06T09:21:27.5864797+04:00</ExpEndTime>
<ExpStartTime>2026-06-06T09:21:27.5864797+04:00</ExpStartTime>
<Id>0f254a9d-a1c2-4d20-a2f9-ca810fab698e</Id>
<POIName>sample string 3</POIName>
<ParcelPlace xmlns:d5p1="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">
<d5p1:ParcelCount>1</d5p1:ParcelCount>
<d5p1:PlaceType1>None</d5p1:PlaceType1>
<d5p1:PlaceType2>None</d5p1:PlaceType2>
<d5p1:PlaceType3>None</d5p1:PlaceType3>
</ParcelPlace>
<Priority>Standard</Priority>
<QRCode>sample string 9</QRCode>
<RoutePointInfo>
<Contact>
<Name>sample string 1</Name>
</Contact>
<Order>
<OrderID>sample string 1</OrderID>
</Order>
</RoutePointInfo>
<RoutePointName>sample string 2</RoutePointName>
<RoutePointStatus>None</RoutePointStatus>
<StopType>None</StopType>
<TimeWindow>
<FromTime>PT0.1234567S</FromTime>
<Name>sample string 1</Name>
</TimeWindow>
</RoutePointInTask>
</RoutePoint>
<TaskID>6de00b4f-3d78-439c-862c-4fe70ba4f62a</TaskID>
<TaskOn>2026-06-06T09:21:27.5864797+04:00</TaskOn>
<TaskTracking>
<ActEndOn>2026-06-06T09:21:27.5864797+04:00</ActEndOn>
<ActStartOn>2026-06-06T09:21:27.5864797+04:00</ActStartOn>
<Status>Unassigned</Status>
<TotalDistance>1.1</TotalDistance>
<TotalExpTime>PT0.1234567S</TotalExpTime>
</TaskTracking>
<TimeWindow>
<FromTime>PT0.1234567S</FromTime>
<Name>sample string 1</Name>
</TimeWindow>
<Vehicle>
<VehicleID>eed1ad54-e0bd-41d0-af43-a40ba9a47281</VehicleID>
<VehicleNo>sample string 2</VehicleNo>
</Vehicle>
</TaskViewModel>
<TaskViewModel>
<CategorySummary xmlns:d3p1="http://schemas.datacontract.org/2004/07/Fleetroot.Entity.Tasks">
<d3p1:CategorySummary>
<d3p1:Name>sample string 1</d3p1:Name>
<d3p1:Qty>2</d3p1:Qty>
</d3p1:CategorySummary>
<d3p1:CategorySummary>
<d3p1:Name>sample string 1</d3p1:Name>
<d3p1:Qty>2</d3p1:Qty>
</d3p1:CategorySummary>
</CategorySummary>
<CreatedOn>2026-06-06T09:21:27.5864797+04:00</CreatedOn>
<Description>sample string 5</Description>
<Driver>
<DriverCode>sample string 3</DriverCode>
<DriverID>da30e0e2-325c-4ef9-96d1-894db6598716</DriverID>
<MobileNo>sample string 4</MobileNo>
<Name>sample string 2</Name>
</Driver>
<ExpectedEndOn>PT0.1234567S</ExpectedEndOn>
<ExpectedStartOn>PT0.1234567S</ExpectedStartOn>
<Name>sample string 4</Name>
<RoutePoint>
<RoutePointInTask>
<ActualEndTime>2026-06-06T09:21:27.5864797+04:00</ActualEndTime>
<ActualStartTime>2026-06-06T09:21:27.5864797+04:00</ActualStartTime>
<City>sample string 4</City>
<CurrentLat>10.1</CurrentLat>
<CurrentLon>11.1</CurrentLon>
<ExpEndTime>2026-06-06T09:21:27.5864797+04:00</ExpEndTime>
<ExpStartTime>2026-06-06T09:21:27.5864797+04:00</ExpStartTime>
<Id>0f254a9d-a1c2-4d20-a2f9-ca810fab698e</Id>
<POIName>sample string 3</POIName>
<ParcelPlace xmlns:d5p1="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">
<d5p1:ParcelCount>1</d5p1:ParcelCount>
<d5p1:PlaceType1>None</d5p1:PlaceType1>
<d5p1:PlaceType2>None</d5p1:PlaceType2>
<d5p1:PlaceType3>None</d5p1:PlaceType3>
</ParcelPlace>
<Priority>Standard</Priority>
<QRCode>sample string 9</QRCode>
<RoutePointInfo>
<Contact>
<Name>sample string 1</Name>
</Contact>
<Order>
<OrderID>sample string 1</OrderID>
</Order>
</RoutePointInfo>
<RoutePointName>sample string 2</RoutePointName>
<RoutePointStatus>None</RoutePointStatus>
<StopType>None</StopType>
<TimeWindow>
<FromTime>PT0.1234567S</FromTime>
<Name>sample string 1</Name>
</TimeWindow>
</RoutePointInTask>
<RoutePointInTask>
<ActualEndTime>2026-06-06T09:21:27.5864797+04:00</ActualEndTime>
<ActualStartTime>2026-06-06T09:21:27.5864797+04:00</ActualStartTime>
<City>sample string 4</City>
<CurrentLat>10.1</CurrentLat>
<CurrentLon>11.1</CurrentLon>
<ExpEndTime>2026-06-06T09:21:27.5864797+04:00</ExpEndTime>
<ExpStartTime>2026-06-06T09:21:27.5864797+04:00</ExpStartTime>
<Id>0f254a9d-a1c2-4d20-a2f9-ca810fab698e</Id>
<POIName>sample string 3</POIName>
<ParcelPlace xmlns:d5p1="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">
<d5p1:ParcelCount>1</d5p1:ParcelCount>
<d5p1:PlaceType1>None</d5p1:PlaceType1>
<d5p1:PlaceType2>None</d5p1:PlaceType2>
<d5p1:PlaceType3>None</d5p1:PlaceType3>
</ParcelPlace>
<Priority>Standard</Priority>
<QRCode>sample string 9</QRCode>
<RoutePointInfo>
<Contact>
<Name>sample string 1</Name>
</Contact>
<Order>
<OrderID>sample string 1</OrderID>
</Order>
</RoutePointInfo>
<RoutePointName>sample string 2</RoutePointName>
<RoutePointStatus>None</RoutePointStatus>
<StopType>None</StopType>
<TimeWindow>
<FromTime>PT0.1234567S</FromTime>
<Name>sample string 1</Name>
</TimeWindow>
</RoutePointInTask>
</RoutePoint>
<TaskID>6de00b4f-3d78-439c-862c-4fe70ba4f62a</TaskID>
<TaskOn>2026-06-06T09:21:27.5864797+04:00</TaskOn>
<TaskTracking>
<ActEndOn>2026-06-06T09:21:27.5864797+04:00</ActEndOn>
<ActStartOn>2026-06-06T09:21:27.5864797+04:00</ActStartOn>
<Status>Unassigned</Status>
<TotalDistance>1.1</TotalDistance>
<TotalExpTime>PT0.1234567S</TotalExpTime>
</TaskTracking>
<TimeWindow>
<FromTime>PT0.1234567S</FromTime>
<Name>sample string 1</Name>
</TimeWindow>
<Vehicle>
<VehicleID>eed1ad54-e0bd-41d0-af43-a40ba9a47281</VehicleID>
<VehicleNo>sample string 2</VehicleNo>
</Vehicle>
</TaskViewModel>
</ArrayOfTaskViewModel>