POST api/SaveTrip
Request Information
URI Parameters
None.
Body Parameters
VehicleTrip| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| ServiceID | integer |
None. |
|
| ServiceName | string |
None. |
|
| StaffID | integer |
None. |
|
| StaffName | string |
None. |
|
| TripNumber | string |
None. |
|
| TripDate | date |
None. |
|
| CustomerID | integer |
None. |
|
| CustomerName | string |
None. |
|
| VehicleID | integer |
None. |
|
| VehicleName | string |
None. |
|
| RefNumber | string |
None. |
|
| PackageID | integer |
None. |
|
| PickUpTime | date |
None. |
|
| DropofTime | date |
None. |
|
| StartTime | date |
None. |
|
| EndTime | date |
None. |
|
| PickupLocationID | integer |
None. |
|
| PickupLocation | string |
None. |
|
| PickupPlace | string |
None. |
|
| PickupLandmark | string |
None. |
|
| PickupGoogleUrl | string |
None. |
|
| DropoffLocationID | integer |
None. |
|
| DropoffLocation | string |
None. |
|
| DropoffPlace | string |
None. |
|
| DropoffLandmark | string |
None. |
|
| DropoffGoogleUrl | string |
None. |
|
| PaymentTypeID | integer |
None. |
|
| PaymentType | string |
None. |
|
| BaseAmount | decimal number |
None. |
|
| AdditionalAmount | decimal number |
None. |
|
| TaxAmount | decimal number |
None. |
|
| TotalAmount | decimal number |
None. |
|
| SendEmail | integer |
None. |
|
| SendSMS | integer |
None. |
|
| HasSpecialRequest | boolean |
None. |
|
| SpecialRequest | string |
None. |
|
| Remarks | string |
None. |
|
| PaymentStatus | integer |
None. |
|
| PaymentStatusText | string |
None. |
|
| Status | integer |
None. |
|
| CreatedBy | integer |
None. |
|
| CompanyID | integer |
None. |
|
| TripPassengerList | Collection of TripPassenger |
None. |
|
| Flight | TripFlight |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"ServiceID": 2,
"ServiceName": "sample string 3",
"StaffID": 4,
"StaffName": "sample string 5",
"TripNumber": "sample string 6",
"TripDate": "2026-02-24T16:16:12.9262195+05:30",
"CustomerID": 8,
"CustomerName": "sample string 9",
"VehicleID": 10,
"VehicleName": "sample string 11",
"RefNumber": "sample string 12",
"PackageID": 13,
"PickUpTime": "2026-02-24T16:16:12.9262195+05:30",
"DropofTime": "2026-02-24T16:16:12.9262195+05:30",
"StartTime": "2026-02-24T16:16:12.9262195+05:30",
"EndTime": "2026-02-24T16:16:12.9262195+05:30",
"PickupLocationID": 18,
"PickupLocation": "sample string 19",
"PickupPlace": "sample string 20",
"PickupLandmark": "sample string 21",
"PickupGoogleUrl": "sample string 22",
"DropoffLocationID": 23,
"DropoffLocation": "sample string 24",
"DropoffPlace": "sample string 25",
"DropoffLandmark": "sample string 26",
"DropoffGoogleUrl": "sample string 27",
"PaymentTypeID": 28,
"PaymentType": "sample string 29",
"BaseAmount": 30.0,
"AdditionalAmount": 31.0,
"TaxAmount": 32.0,
"TotalAmount": 33.0,
"SendEmail": 34,
"SendSMS": 35,
"HasSpecialRequest": true,
"SpecialRequest": "sample string 37",
"Remarks": "sample string 38",
"PaymentStatus": 39,
"PaymentStatusText": "sample string 40",
"Status": 41,
"CreatedBy": 43,
"CompanyID": 47,
"TripPassengerList": [
{
"ID": 1,
"TripID": 2,
"PassengerName": "sample string 3",
"PassengerEmail": "sample string 4",
"PassengerMobile": "sample string 5"
},
{
"ID": 1,
"TripID": 2,
"PassengerName": "sample string 3",
"PassengerEmail": "sample string 4",
"PassengerMobile": "sample string 5"
}
],
"Flight": {
"ID": 1,
"TripID": 2,
"TravelType": "sample string 3",
"AirlineName": "sample string 4",
"FlightNumber": "sample string 5"
}
}
application/xml, text/xml
Sample:
<VehicleTrip xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NEXABIT.TMS.BO">
<AdditionalAmount>31</AdditionalAmount>
<BaseAmount>30</BaseAmount>
<CompanyID>47</CompanyID>
<CreatedBy>43</CreatedBy>
<CustomerID>8</CustomerID>
<CustomerName>sample string 9</CustomerName>
<DropofTime>2026-02-24T16:16:12.9262195+05:30</DropofTime>
<DropoffGoogleUrl>sample string 27</DropoffGoogleUrl>
<DropoffLandmark>sample string 26</DropoffLandmark>
<DropoffLocation>sample string 24</DropoffLocation>
<DropoffLocationID>23</DropoffLocationID>
<DropoffPlace>sample string 25</DropoffPlace>
<EndTime>2026-02-24T16:16:12.9262195+05:30</EndTime>
<Flight>
<AirlineName>sample string 4</AirlineName>
<FlightNumber>sample string 5</FlightNumber>
<ID>1</ID>
<TravelType>sample string 3</TravelType>
<TripID>2</TripID>
</Flight>
<HasSpecialRequest>true</HasSpecialRequest>
<ID>1</ID>
<PackageID>13</PackageID>
<PaymentStatus>39</PaymentStatus>
<PaymentStatusText>sample string 40</PaymentStatusText>
<PaymentType>sample string 29</PaymentType>
<PaymentTypeID>28</PaymentTypeID>
<PickUpTime>2026-02-24T16:16:12.9262195+05:30</PickUpTime>
<PickupGoogleUrl>sample string 22</PickupGoogleUrl>
<PickupLandmark>sample string 21</PickupLandmark>
<PickupLocation>sample string 19</PickupLocation>
<PickupLocationID>18</PickupLocationID>
<PickupPlace>sample string 20</PickupPlace>
<RefNumber>sample string 12</RefNumber>
<Remarks>sample string 38</Remarks>
<SendEmail>34</SendEmail>
<SendSMS>35</SendSMS>
<ServiceID>2</ServiceID>
<ServiceName>sample string 3</ServiceName>
<SpecialRequest>sample string 37</SpecialRequest>
<StaffID>4</StaffID>
<StaffName>sample string 5</StaffName>
<StartTime>2026-02-24T16:16:12.9262195+05:30</StartTime>
<Status>41</Status>
<TaxAmount>32</TaxAmount>
<TotalAmount>33</TotalAmount>
<TripDate>2026-02-24T16:16:12.9262195+05:30</TripDate>
<TripNumber>sample string 6</TripNumber>
<TripPassengerList>
<TripPassenger>
<ID>1</ID>
<PassengerEmail>sample string 4</PassengerEmail>
<PassengerMobile>sample string 5</PassengerMobile>
<PassengerName>sample string 3</PassengerName>
<TripID>2</TripID>
</TripPassenger>
<TripPassenger>
<ID>1</ID>
<PassengerEmail>sample string 4</PassengerEmail>
<PassengerMobile>sample string 5</PassengerMobile>
<PassengerName>sample string 3</PassengerName>
<TripID>2</TripID>
</TripPassenger>
</TripPassengerList>
<VehicleID>10</VehicleID>
<VehicleName>sample string 11</VehicleName>
</VehicleTrip>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseModel| Name | Description | Type | Additional information |
|---|---|---|---|
| StatusCode | integer |
None. |
|
| ResponseValue | string |
None. |
|
| Message | string |
None. |
|
| Description | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"StatusCode": 1,
"ResponseValue": "sample string 2",
"Message": "sample string 3",
"Description": "sample string 4"
}
application/xml, text/xml
Sample:
<ResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NEXABIT.TMS.BO"> <Description>sample string 4</Description> <Message>sample string 3</Message> <ResponseValue>sample string 2</ResponseValue> <StatusCode>1</StatusCode> </ResponseModel>