POST Api/TaskEx/GetTaskCount
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": "606e3f19-b8af-4175-8806-642a3f5e2448",
"DriverID": "5632e257-0c7e-4bd0-aef7-d94200210b86",
"DriverCode": "sample string 3",
"FromDate": "2026-06-06T09:21:27.5708536+04:00",
"ToDate": "2026-06-06T09:21:27.5708536+04:00",
"TaskStatus": [
1,
2
],
"GroupID": "720834ed-22fa-4e62-91cd-b6175e54b1bd",
"StopTypes": [
1,
2
],
"SubClientID": "904b15e7-5d08-46ef-88d7-6c1f86760151",
"TerritoryFenceID": "2222002d-21a0-4414-a362-ca8d3dc93c07",
"MerchantID": "44775f08-8992-42cc-a7df-5f5a4fda2454",
"TimeWindowID": "c8ee3065-d009-48aa-a91c-0bbc05bf1cd8",
"SearchText": "sample string 11",
"TimeWindowFilter": [
"e3690d1c-86b7-4b81-a4ab-a46b32b1447c",
"412a0d13-dd96-4c75-af40-b408f5a5dfe3"
],
"City": "sample string 12",
"CityAndAreaID": "cc5e1e33-deec-441f-a285-aa2c083b5864",
"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>cc5e1e33-deec-441f-a285-aa2c083b5864</CityAndAreaID>
<ClientID>606e3f19-b8af-4175-8806-642a3f5e2448</ClientID>
<DriverCode>sample string 3</DriverCode>
<DriverID>5632e257-0c7e-4bd0-aef7-d94200210b86</DriverID>
<FromDate>2026-06-06T09:21:27.5708536+04:00</FromDate>
<GroupID>720834ed-22fa-4e62-91cd-b6175e54b1bd</GroupID>
<IsGetPendingTasks>true</IsGetPendingTasks>
<MerchantID>44775f08-8992-42cc-a7df-5f5a4fda2454</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>904b15e7-5d08-46ef-88d7-6c1f86760151</SubClientID>
<TaskStatus xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</TaskStatus>
<TerritoryFenceID>2222002d-21a0-4414-a362-ca8d3dc93c07</TerritoryFenceID>
<TimeWindowFilter xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>e3690d1c-86b7-4b81-a4ab-a46b32b1447c</d2p1:guid>
<d2p1:guid>412a0d13-dd96-4c75-af40-b408f5a5dfe3</d2p1:guid>
</TimeWindowFilter>
<TimeWindowID>c8ee3065-d009-48aa-a91c-0bbc05bf1cd8</TimeWindowID>
<ToDate>2026-06-06T09:21:27.5708536+04:00</ToDate>
</TaskParameter>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
TaskCount| Name | Description | Type | Additional information |
|---|---|---|---|
| Assigned | integer |
None. |
|
| InProgress | integer |
None. |
|
| Completed | integer |
None. |
|
| Pending | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Assigned": 1,
"InProgress": 2,
"Completed": 3,
"Pending": 4
}
application/xml, text/xml
Sample:
<TaskCount xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity.Tasks"> <Assigned>1</Assigned> <Completed>3</Completed> <InProgress>2</InProgress> <Pending>4</Pending> </TaskCount>