PUT api/Stops/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Stop
NameDescriptionTypeAdditional information
id

integer

None.

Stop_Name

string

Required

String length: inclusive between 0 and 100

Latitude

decimal number

None.

Longitude

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "Stop_Name": "sample string 2",
  "Latitude": 3.0,
  "Longitude": 1.0
}

application/xml, text/xml

Sample:
<Stop xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AVLWeb.Models">
  <Latitude>3</Latitude>
  <Longitude>1</Longitude>
  <Stop_Name>sample string 2</Stop_Name>
  <id>1</id>
</Stop>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.