POST Api/TaskEx/GetTaskCount
Request Information
URI Parameters
None.
Body Parameters
TaskParameterName | 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": "cb72840b-6fd5-46a9-ab0a-a4095babcf19", "DriverID": "636c516f-bbc9-4757-9023-78cff14a5afb", "DriverCode": "sample string 3", "FromDate": "2025-08-08T15:31:14.3713828+04:00", "ToDate": "2025-08-08T15:31:14.3713828+04:00", "TaskStatus": [ 1, 2 ], "GroupID": "afb6188d-2456-4551-bda8-f29ce16dbeff", "StopTypes": [ 1, 2 ], "SubClientID": "067d6296-9fe7-4f42-af67-ca5b5e9c2863", "TerritoryFenceID": "508807ba-ec14-494d-a960-a7c621596282", "MerchantID": "42d2a039-264e-4611-92d0-426d2d6a30db", "TimeWindowID": "7604a1a2-756d-4696-9a59-25762f68c46f", "SearchText": "sample string 11", "TimeWindowFilter": [ "c2deb483-e847-4302-9f52-debf7dc376ec", "27ace441-93d6-4505-a3c9-eec968daaf12" ], "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>cb72840b-6fd5-46a9-ab0a-a4095babcf19</ClientID> <DriverCode>sample string 3</DriverCode> <DriverID>636c516f-bbc9-4757-9023-78cff14a5afb</DriverID> <FromDate>2025-08-08T15:31:14.3713828+04:00</FromDate> <GroupID>afb6188d-2456-4551-bda8-f29ce16dbeff</GroupID> <IsGetPendingTasks>true</IsGetPendingTasks> <MerchantID>42d2a039-264e-4611-92d0-426d2d6a30db</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>067d6296-9fe7-4f42-af67-ca5b5e9c2863</SubClientID> <TaskStatus xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </TaskStatus> <TerritoryFenceID>508807ba-ec14-494d-a960-a7c621596282</TerritoryFenceID> <TimeWindowFilter xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>c2deb483-e847-4302-9f52-debf7dc376ec</d2p1:guid> <d2p1:guid>27ace441-93d6-4505-a3c9-eec968daaf12</d2p1:guid> </TimeWindowFilter> <TimeWindowID>7604a1a2-756d-4696-9a59-25762f68c46f</TimeWindowID> <ToDate>2025-08-08T15:31:14.3713828+04:00</ToDate> </TaskParameter>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
TaskCountName | 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>