POST api/Employee/CompleteTrip
Request Information
URI Parameters
None.
Body Parameters
CompleteTripRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| RouteId | integer |
None. |
|
| DriverId | integer |
None. |
|
| CompanyId | integer |
None. |
|
| RouteDate | date |
None. |
|
| PickupShiftId | integer |
None. |
|
| DropShiftId | integer |
None. |
|
| ShiftId | integer |
None. |
|
| TripTypeId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"RouteId": 1,
"DriverId": 1,
"CompanyId": 1,
"RouteDate": "2026-11-29T12:36:28.7153053+05:30",
"PickupShiftId": 1,
"DropShiftId": 1,
"ShiftId": 1,
"TripTypeId": 1
}
application/xml, text/xml
Sample:
<CompleteTripRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VardaanCab.Domain.DTOAPI"> <CompanyId>1</CompanyId> <DriverId>1</DriverId> <DropShiftId>1</DropShiftId> <PickupShiftId>1</PickupShiftId> <RouteDate>2026-11-29T12:36:28.7153053+05:30</RouteDate> <RouteId>1</RouteId> <ShiftId>1</ShiftId> <TripTypeId>1</TripTypeId> </CompleteTripRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.