POST api/DispatchApi/GetTripbyDates
Request Information
URI Parameters
None.
Body Parameters
TripDetailPara| Name | Description | Type | Additional information |
|---|---|---|---|
| DriverId | integer |
None. |
|
| DeviceId | string |
None. |
|
| StartDate | date |
None. |
|
| EndDate | date |
None. |
|
| TripId | integer |
None. |
|
| TripDriverMappingAuditTrialID | integer |
None. |
|
| FromStateId | integer |
None. |
|
| ToStateId | integer |
None. |
|
| FromCityId | integer |
None. |
|
| ToCityId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"DriverId": 1,
"DeviceId": "sample string 2",
"StartDate": "2026-10-18T09:23:52.100375-04:00",
"EndDate": "2026-10-18T09:23:52.100375-04:00",
"TripId": 1,
"TripDriverMappingAuditTrialID": 1,
"FromStateId": 1,
"ToStateId": 1,
"FromCityId": 1,
"ToCityId": 1
}
text/html
Sample:
{"DriverId":1,"DeviceId":"sample string 2","StartDate":"2026-10-18T09:23:52.100375-04:00","EndDate":"2026-10-18T09:23:52.100375-04:00","TripId":1,"TripDriverMappingAuditTrialID":1,"FromStateId":1,"ToStateId":1,"FromCityId":1,"ToCityId":1}
application/xml, text/xml
Sample:
<TripDetailPara xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Dispatch.Models"> <DeviceId>sample string 2</DeviceId> <DriverId>1</DriverId> <EndDate>2026-10-18T09:23:52.100375-04:00</EndDate> <FromCityId>1</FromCityId> <FromStateId>1</FromStateId> <StartDate>2026-10-18T09:23:52.100375-04:00</StartDate> <ToCityId>1</ToCityId> <ToStateId>1</ToStateId> <TripDriverMappingAuditTrialID>1</TripDriverMappingAuditTrialID> <TripId>1</TripId> </TripDetailPara>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResultModelOfTripDetails| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | boolean |
None. |
|
| Message | string |
None. |
|
| UpdateApp | boolean |
None. |
|
| IsSecureLoad | boolean |
None. |
|
| IsPODMandatory | boolean |
None. |
|
| GetPickupDeliveryNumberFromApp | boolean |
None. |
|
| RestrictLocationChangesForApp | boolean |
None. |
|
| RestrictDriversToOneActiveJobAtaTime | boolean |
None. |
|
| ShowShipperConsigneeContactDetail | boolean |
None. |
|
| HideMilesRateForDriverInapp | boolean |
None. |
|
| ShowConsigneeInfoOnDriverApp | boolean |
None. |
|
| model | TripDetails |
None. |
|
| lstModel | Collection of TripDetails |
None. |
Response Formats
application/json
Sample:
text/json
Sample:
text/html
Sample:
application/xml
Sample:
text/xml
Sample: