POST TransitApi/Incident

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
request
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "AgencyId": "sample string 1",
  "Type": 2,
  "Date": "sample string 3",
  "Time": "sample string 4",
  "Coords": {
    "Latitude": 1.1,
    "Longitude": 2.1
  },
  "BusId": "sample string 5",
  "StopId": "sample string 6",
  "SubwayId": "sample string 7",
  "StationId": "sample string 8",
  "Direction": "sample string 9"
}

application/xml, text/xml

Sample:
<IncidentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TransitAPI.Models">
  <AgencyId>sample string 1</AgencyId>
  <BusId>sample string 5</BusId>
  <Coords>
    <Latitude>1.1</Latitude>
    <Longitude>2.1</Longitude>
  </Coords>
  <Date>sample string 3</Date>
  <Direction>sample string 9</Direction>
  <StationId>sample string 8</StationId>
  <StopId>sample string 6</StopId>
  <SubwayId>sample string 7</SubwayId>
  <Time>sample string 4</Time>
  <Type>2</Type>
</IncidentRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />