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. |
|
| IsGetPendingTasks | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"ClientID": "ae512d68-c3d6-4a74-9dac-2a7a7d698e34",
"DriverID": "3c84b323-2c3a-4cd6-8bf6-07d5e0c653ee",
"DriverCode": "sample string 3",
"FromDate": "2026-02-08T20:08:33.9547691+04:00",
"ToDate": "2026-02-08T20:08:33.9547691+04:00",
"TaskStatus": [
1,
2
],
"GroupID": "4678b562-9628-458e-99da-8c2fd97a2b11",
"StopTypes": [
1,
2
],
"SubClientID": "4839fe03-4780-46a8-9e46-672890f7244b",
"TerritoryFenceID": "b37a0505-eae1-4d90-b89f-19a44419696d",
"MerchantID": "7d51fc25-6fe4-4b33-b6ed-7bdcac04d8eb",
"TimeWindowID": "bb1f34b8-b759-4f5d-b474-28df14075e54",
"SearchText": "sample string 11",
"TimeWindowFilter": [
"f1f8bba3-5bfc-4040-892f-e0d427b38574",
"ed1552ed-ff41-43fa-a918-aa25d6a4d263"
],
"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">
<ClientID>ae512d68-c3d6-4a74-9dac-2a7a7d698e34</ClientID>
<DriverCode>sample string 3</DriverCode>
<DriverID>3c84b323-2c3a-4cd6-8bf6-07d5e0c653ee</DriverID>
<FromDate>2026-02-08T20:08:33.9547691+04:00</FromDate>
<GroupID>4678b562-9628-458e-99da-8c2fd97a2b11</GroupID>
<IsGetPendingTasks>true</IsGetPendingTasks>
<MerchantID>7d51fc25-6fe4-4b33-b6ed-7bdcac04d8eb</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>4839fe03-4780-46a8-9e46-672890f7244b</SubClientID>
<TaskStatus xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</TaskStatus>
<TerritoryFenceID>b37a0505-eae1-4d90-b89f-19a44419696d</TerritoryFenceID>
<TimeWindowFilter xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>f1f8bba3-5bfc-4040-892f-e0d427b38574</d2p1:guid>
<d2p1:guid>ed1552ed-ff41-43fa-a918-aa25d6a4d263</d2p1:guid>
</TimeWindowFilter>
<TimeWindowID>bb1f34b8-b759-4f5d-b474-28df14075e54</TimeWindowID>
<ToDate>2026-02-08T20:08:33.9547691+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>