PUT api/BusStatus/UpdateBusStatus

Request Information

URI Parameters

None.

Body Parameters

BusStatus
NameDescriptionTypeAdditional information
StopID

string

None.

StopName

string

None.

Latitude

string

None.

Longitude

string

None.

Heading

string

None.

ShiftStatus

string

None.

Route

string

None.

Run

string

None.

Direction

string

None.

DriverID

string

None.

LastUpdate

string

None.

BusID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "StopID": "sample string 1",
  "StopName": "sample string 2",
  "Latitude": "sample string 3",
  "Longitude": "sample string 4",
  "Heading": "sample string 5",
  "ShiftStatus": "sample string 6",
  "Route": "sample string 7",
  "Run": "sample string 8",
  "Direction": "sample string 9",
  "DriverID": "sample string 10",
  "LastUpdate": "sample string 11",
  "BusID": "sample string 12"
}

application/xml, text/xml

Sample:
<BusStatusController.BusStatus xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OperationsAPI.Controllers">
  <BusID>sample string 12</BusID>
  <Direction>sample string 9</Direction>
  <DriverID>sample string 10</DriverID>
  <Heading>sample string 5</Heading>
  <LastUpdate>sample string 11</LastUpdate>
  <Latitude>sample string 3</Latitude>
  <Longitude>sample string 4</Longitude>
  <Route>sample string 7</Route>
  <Run>sample string 8</Run>
  <ShiftStatus>sample string 6</ShiftStatus>
  <StopID>sample string 1</StopID>
  <StopName>sample string 2</StopName>
</BusStatusController.BusStatus>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

BusStatusResponse
NameDescriptionTypeAdditional information
Result

string

None.

Error

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Result": "sample string 1",
  "Error": "sample string 2"
}

application/xml, text/xml

Sample:
<BusStatusController.BusStatusResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OperationsAPI.Controllers">
  <Error>sample string 2</Error>
  <Result>sample string 1</Result>
</BusStatusController.BusStatusResponse>