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

Request Information

URI Parameters

None.

Body Parameters

FoodWasteTripsPersonnelEnd
NameDescriptionTypeAdditional information
routeid

integer

None.

odometer

decimal number

None.

bookingid

integer

None.

customerid

integer

None.

note

string

None.

lat

decimal number

None.

lon

decimal number

None.

starttrip

string

None.

Request Formats

application/json, text/json

Sample:
{
  "routeid": 1,
  "odometer": 1.1,
  "bookingid": 2,
  "customerid": 3,
  "note": "sample string 4",
  "lat": 5.1,
  "lon": 6.1,
  "starttrip": "sample string 7"
}

application/xml, text/xml

Sample:
<FoodWasteTripsPersonnelEnd xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.DTO">
  <bookingid>2</bookingid>
  <customerid>3</customerid>
  <lat>5.1</lat>
  <lon>6.1</lon>
  <note>sample string 4</note>
  <odometer>1.1</odometer>
  <routeid>1</routeid>
  <starttrip>sample string 7</starttrip>
</FoodWasteTripsPersonnelEnd>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.