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": "a6e0e93c-1428-4eb3-bea7-64e938fd59f5",
"DriverID": "9a28818c-8f9b-4cba-8500-44614ae86482",
"DriverCode": "sample string 3",
"FromDate": "2026-03-26T03:21:03.6367032+04:00",
"ToDate": "2026-03-26T03:21:03.6367032+04:00",
"TaskStatus": [
1,
2
],
"GroupID": "f82dde37-c822-4daf-8f25-37413d60a8f3",
"StopTypes": [
1,
2
],
"SubClientID": "6533c586-8ff7-484e-bb80-c156ca60e668",
"TerritoryFenceID": "ea2a1501-d1ea-4825-b71c-f3d695a1180b",
"MerchantID": "156b8fe0-d45f-4493-bc1c-452b3ba2d536",
"TimeWindowID": "9999e3e1-dfaf-41ce-a986-d503d4580ac7",
"SearchText": "sample string 11",
"TimeWindowFilter": [
"d74b8cc4-056b-44e2-9f0b-c1027fab00a8",
"ca5ca45b-74ca-4b39-88f8-f695166fccaa"
],
"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>a6e0e93c-1428-4eb3-bea7-64e938fd59f5</ClientID>
<DriverCode>sample string 3</DriverCode>
<DriverID>9a28818c-8f9b-4cba-8500-44614ae86482</DriverID>
<FromDate>2026-03-26T03:21:03.6367032+04:00</FromDate>
<GroupID>f82dde37-c822-4daf-8f25-37413d60a8f3</GroupID>
<IsGetPendingTasks>true</IsGetPendingTasks>
<MerchantID>156b8fe0-d45f-4493-bc1c-452b3ba2d536</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>6533c586-8ff7-484e-bb80-c156ca60e668</SubClientID>
<TaskStatus xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</TaskStatus>
<TerritoryFenceID>ea2a1501-d1ea-4825-b71c-f3d695a1180b</TerritoryFenceID>
<TimeWindowFilter xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>d74b8cc4-056b-44e2-9f0b-c1027fab00a8</d2p1:guid>
<d2p1:guid>ca5ca45b-74ca-4b39-88f8-f695166fccaa</d2p1:guid>
</TimeWindowFilter>
<TimeWindowID>9999e3e1-dfaf-41ce-a986-d503d4580ac7</TimeWindowID>
<ToDate>2026-03-26T03:21:03.6367032+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>