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": "63cf5078-65b6-432f-94a8-8950056366be",
"DriverID": "10470e1a-d441-4674-8c11-736660da9faf",
"DriverCode": "sample string 3",
"FromDate": "2026-11-04T08:47:27.8393277+04:00",
"ToDate": "2026-11-04T08:47:27.8393277+04:00",
"TaskStatus": [
1,
2
],
"GroupID": "ea53e243-ba45-406d-b198-9fb9b3dbb18a",
"StopTypes": [
1,
2
],
"SubClientID": "aaad7c4d-e439-460b-b15a-03f9ea3b8445",
"TerritoryFenceID": "b85aed88-94f7-4a2f-9f3c-e809b47442ee",
"MerchantID": "657312af-32d1-4590-9283-c36113a80c26",
"TimeWindowID": "9facc454-2f6a-4257-8066-c6c2b0bc8aaa",
"SearchText": "sample string 11",
"TimeWindowFilter": [
"8b957c99-b0f4-486d-b24a-80f9e118f0ed",
"1828d100-0500-4408-b4ba-ff2e036f8c88"
],
"City": "sample string 12",
"CityAndAreaID": "82c799a3-9db1-4ae5-ae05-0c3b50bdb0b8",
"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>82c799a3-9db1-4ae5-ae05-0c3b50bdb0b8</CityAndAreaID>
<ClientID>63cf5078-65b6-432f-94a8-8950056366be</ClientID>
<DriverCode>sample string 3</DriverCode>
<DriverID>10470e1a-d441-4674-8c11-736660da9faf</DriverID>
<FromDate>2026-11-04T08:47:27.8393277+04:00</FromDate>
<GroupID>ea53e243-ba45-406d-b198-9fb9b3dbb18a</GroupID>
<IsGetPendingTasks>true</IsGetPendingTasks>
<MerchantID>657312af-32d1-4590-9283-c36113a80c26</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>aaad7c4d-e439-460b-b15a-03f9ea3b8445</SubClientID>
<TaskStatus xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</TaskStatus>
<TerritoryFenceID>b85aed88-94f7-4a2f-9f3c-e809b47442ee</TerritoryFenceID>
<TimeWindowFilter xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>8b957c99-b0f4-486d-b24a-80f9e118f0ed</d2p1:guid>
<d2p1:guid>1828d100-0500-4408-b4ba-ff2e036f8c88</d2p1:guid>
</TimeWindowFilter>
<TimeWindowID>9facc454-2f6a-4257-8066-c6c2b0bc8aaa</TimeWindowID>
<ToDate>2026-11-04T08:47:27.8393277+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>