POST api/my/basura/bookings/personnels/routes/end

Request Information

URI Parameters

None.

Body Parameters

BookingsPersonnelDestinationDTO
NameDescriptionTypeAdditional information
routeid

integer

None.

odometer

decimal number

None.

bookingid

integer

None.

note

string

None.

lat

decimal number

None.

lon

decimal number

None.

starttrip

string

None.

speed

decimal number

None.

tripTicket

string

None.

groupId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "routeid": 1,
  "odometer": 1.1,
  "bookingid": 2,
  "note": "sample string 3",
  "lat": 4.1,
  "lon": 5.1,
  "starttrip": "sample string 6",
  "speed": 7.1,
  "tripTicket": "sample string 8",
  "groupId": 9
}

application/xml, text/xml

Sample:
<BookingsPersonnelDestinationDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models">
  <bookingid>2</bookingid>
  <groupId>9</groupId>
  <lat>4.1</lat>
  <lon>5.1</lon>
  <note>sample string 3</note>
  <odometer>1.1</odometer>
  <routeid>1</routeid>
  <speed>7.1</speed>
  <starttrip>sample string 6</starttrip>
  <tripTicket>sample string 8</tripTicket>
</BookingsPersonnelDestinationDTO>

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 'BookingsPersonnelDestinationDTO'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.