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": "0bf5895c-9629-4879-860f-7854b7467169", "DriverID": "587aae15-16c5-4c25-acd1-f3c4ccf8b0c2", "DriverCode": "sample string 3", "FromDate": "2025-09-16T19:34:57.1960438+04:00", "ToDate": "2025-09-16T19:34:57.1960438+04:00", "TaskStatus": [ 1, 2 ], "GroupID": "957836f1-70da-45bf-a468-3e37da0bbc1c", "StopTypes": [ 1, 2 ], "SubClientID": "2a8b12b1-78e7-4871-8967-8d7bd2f6c752", "TerritoryFenceID": "a3f3d280-8f17-4f72-b22c-2ee88843f75b", "MerchantID": "b676a1c7-467a-4b44-bed3-725bca1af9bb", "TimeWindowID": "e6ee23b1-4c54-41cf-b91d-f7018d09490b", "SearchText": "sample string 11", "TimeWindowFilter": [ "6fa1f48c-1b8c-40c7-aa14-5d689f980a6e", "77629550-77e4-41eb-b142-ccc9b9a68087" ], "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>0bf5895c-9629-4879-860f-7854b7467169</ClientID> <DriverCode>sample string 3</DriverCode> <DriverID>587aae15-16c5-4c25-acd1-f3c4ccf8b0c2</DriverID> <FromDate>2025-09-16T19:34:57.1960438+04:00</FromDate> <GroupID>957836f1-70da-45bf-a468-3e37da0bbc1c</GroupID> <IsGetPendingTasks>true</IsGetPendingTasks> <MerchantID>b676a1c7-467a-4b44-bed3-725bca1af9bb</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>2a8b12b1-78e7-4871-8967-8d7bd2f6c752</SubClientID> <TaskStatus xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </TaskStatus> <TerritoryFenceID>a3f3d280-8f17-4f72-b22c-2ee88843f75b</TerritoryFenceID> <TimeWindowFilter xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>6fa1f48c-1b8c-40c7-aa14-5d689f980a6e</d2p1:guid> <d2p1:guid>77629550-77e4-41eb-b142-ccc9b9a68087</d2p1:guid> </TimeWindowFilter> <TimeWindowID>e6ee23b1-4c54-41cf-b91d-f7018d09490b</TimeWindowID> <ToDate>2025-09-16T19:34:57.1960438+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>