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. |
Request Formats
application/json, text/json
Sample:
{ "ClientID": "02908b4f-2a8e-471c-8f9c-9991d663a011", "DriverID": "fc66f8ae-23e1-4cf4-86a3-c971536df915", "DriverCode": "sample string 3", "FromDate": "2025-05-20T21:06:09.3536015+04:00", "ToDate": "2025-05-20T21:06:09.3536015+04:00", "TaskStatus": [ 1, 2 ], "GroupID": "fd54797d-c5e6-44bd-8f72-310c612a358d", "StopTypes": [ 1, 2 ], "SubClientID": "3e0fc2c7-4bd4-4bd3-9f66-6fd971665d0f", "TerritoryFenceID": "bde4a931-f6ee-442d-abf5-0e20a4c9d58e", "MerchantID": "e5dfc2da-73be-4193-9110-068adf0db904", "TimeWindowID": "086d66db-eabc-46a2-a7d5-502c0fc5b4ac", "SearchText": "sample string 11", "TimeWindowFilter": [ "17d65c5b-616d-4906-8e8d-bbe2b0b3a044", "35fdbfa4-b5d1-4da0-9998-80237ca8a923" ] }
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>02908b4f-2a8e-471c-8f9c-9991d663a011</ClientID> <DriverCode>sample string 3</DriverCode> <DriverID>fc66f8ae-23e1-4cf4-86a3-c971536df915</DriverID> <FromDate>2025-05-20T21:06:09.3536015+04:00</FromDate> <GroupID>fd54797d-c5e6-44bd-8f72-310c612a358d</GroupID> <MerchantID>e5dfc2da-73be-4193-9110-068adf0db904</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>3e0fc2c7-4bd4-4bd3-9f66-6fd971665d0f</SubClientID> <TaskStatus xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </TaskStatus> <TerritoryFenceID>bde4a931-f6ee-442d-abf5-0e20a4c9d58e</TerritoryFenceID> <TimeWindowFilter xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>17d65c5b-616d-4906-8e8d-bbe2b0b3a044</d2p1:guid> <d2p1:guid>35fdbfa4-b5d1-4da0-9998-80237ca8a923</d2p1:guid> </TimeWindowFilter> <TimeWindowID>086d66db-eabc-46a2-a7d5-502c0fc5b4ac</TimeWindowID> <ToDate>2025-05-20T21:06:09.3536015+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. |
Response Formats
application/json, text/json
Sample:
{ "Assigned": 1, "InProgress": 2, "Completed": 3 }
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> </TaskCount>