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": "5bab3025-c682-4ac6-bc0e-8bc3ad652619",
"DriverID": "c0fbb736-7020-41dc-877e-1da6f167aaeb",
"DriverCode": "sample string 3",
"FromDate": "2026-07-09T14:56:28.6943737+04:00",
"ToDate": "2026-07-09T14:56:28.6943737+04:00",
"TaskStatus": [
1,
2
],
"GroupID": "a0d5134a-9f75-4a07-b611-ddbddde0bcad",
"StopTypes": [
1,
2
],
"SubClientID": "dd5bc11c-0ce0-4c72-b8ab-b547e505c9d0",
"TerritoryFenceID": "27419c61-2a3c-4e44-b2ad-090d5f6d63d7",
"MerchantID": "496b44be-a017-4414-9149-e6e1ed36d2f4",
"TimeWindowID": "55b23b3a-c6a4-4063-9ad1-dc51a362ab4f",
"SearchText": "sample string 11",
"TimeWindowFilter": [
"c64c274e-b67a-42ca-ab54-ea4cb295d2c7",
"895f85b3-b83d-4d86-8f3f-5420f0f24252"
],
"City": "sample string 12",
"CityAndAreaID": "ed092fa5-c7c1-49f0-9886-8c2300fde157",
"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>ed092fa5-c7c1-49f0-9886-8c2300fde157</CityAndAreaID>
<ClientID>5bab3025-c682-4ac6-bc0e-8bc3ad652619</ClientID>
<DriverCode>sample string 3</DriverCode>
<DriverID>c0fbb736-7020-41dc-877e-1da6f167aaeb</DriverID>
<FromDate>2026-07-09T14:56:28.6943737+04:00</FromDate>
<GroupID>a0d5134a-9f75-4a07-b611-ddbddde0bcad</GroupID>
<IsGetPendingTasks>true</IsGetPendingTasks>
<MerchantID>496b44be-a017-4414-9149-e6e1ed36d2f4</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>dd5bc11c-0ce0-4c72-b8ab-b547e505c9d0</SubClientID>
<TaskStatus xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</TaskStatus>
<TerritoryFenceID>27419c61-2a3c-4e44-b2ad-090d5f6d63d7</TerritoryFenceID>
<TimeWindowFilter xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>c64c274e-b67a-42ca-ab54-ea4cb295d2c7</d2p1:guid>
<d2p1:guid>895f85b3-b83d-4d86-8f3f-5420f0f24252</d2p1:guid>
</TimeWindowFilter>
<TimeWindowID>55b23b3a-c6a4-4063-9ad1-dc51a362ab4f</TimeWindowID>
<ToDate>2026-07-09T14:56:28.6943737+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>