POST Routes/StartTrip

Request Information

URI Parameters

None.

Body Parameters

StartTrip
NameDescriptionTypeAdditional information
RouteId

integer

None.

StartLat

string

None.

StartLang

string

None.

UserId

integer

None.

StartDate

date

None.

Id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "RouteId": 1,
  "StartLat": "sample string 2",
  "StartLang": "sample string 3",
  "UserId": 4,
  "StartDate": "2025-12-12T20:08:36.1025241+05:30",
  "Id": 6
}

text/html

Sample:
{"RouteId":1,"StartLat":"sample string 2","StartLang":"sample string 3","UserId":4,"StartDate":"2025-12-12T20:08:36.1025241+05:30","Id":6}

application/xml, text/xml

Sample:
<StartTrip xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tracking.Entity">
  <Id>6</Id>
  <RouteId>1</RouteId>
  <StartDate>2025-12-12T20:08:36.1025241+05:30</StartDate>
  <StartLang>sample string 3</StartLang>
  <StartLat>sample string 2</StartLat>
  <UserId>4</UserId>
</StartTrip>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'StartTrip'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.