POST api/UpdateTravelPicByBusID

Request Information

URI Parameters

None.

Body Parameters

TravelBus
NameDescriptionTypeAdditional information
busid

string

None.

round

string

None.

latitude

string

None.

longitude

string

None.

locationName

string

None.

speed

string

None.

pictureurl

string

None.

Request Formats

application/json, text/json

Sample:
{
  "busid": "sample string 1",
  "round": "sample string 2",
  "latitude": "sample string 3",
  "longitude": "sample string 4",
  "locationName": "sample string 5",
  "speed": "sample string 6",
  "pictureurl": "sample string 7"
}

application/xml, text/xml

Sample:
<BusInfoesController.TravelBus xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusAPI.Controllers">
  <busid>sample string 1</busid>
  <latitude>sample string 3</latitude>
  <locationName>sample string 5</locationName>
  <longitude>sample string 4</longitude>
  <pictureurl>sample string 7</pictureurl>
  <round>sample string 2</round>
  <speed>sample string 6</speed>
</BusInfoesController.TravelBus>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.