POST TransitApi/IncidentPost

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",
  "UserId": "sample string 2",
  "Type": 3,
  "Date": "sample string 4",
  "Time": "sample string 5",
  "Coords": {
    "Latitude": 1.1,
    "Longitude": 2.1
  },
  "Image": {
    "Id": "sample string 1",
    "Base64Image": "sample string 2",
    "ImageDate": "sample string 3",
    "ImageTime": "sample string 4",
    "Description": "sample string 5"
  },
  "BusId": "sample string 6",
  "StopId": "sample string 7",
  "SubwayId": "sample string 8",
  "StationId": "sample string 9",
  "Direction": "sample string 10",
  "SeverityLevel": 11
}

application/xml, text/xml

Sample:
<IncidentPostRequest 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 6</BusId>
  <Coords>
    <Latitude>1.1</Latitude>
    <Longitude>2.1</Longitude>
  </Coords>
  <Date>sample string 4</Date>
  <Direction>sample string 10</Direction>
  <Image>
    <Base64Image>sample string 2</Base64Image>
    <Description>sample string 5</Description>
    <Id>sample string 1</Id>
    <ImageDate>sample string 3</ImageDate>
    <ImageTime>sample string 4</ImageTime>
  </Image>
  <SeverityLevel>11</SeverityLevel>
  <StationId>sample string 9</StationId>
  <StopId>sample string 7</StopId>
  <SubwayId>sample string 8</SubwayId>
  <Time>sample string 5</Time>
  <Type>3</Type>
  <UserId>sample string 2</UserId>
</IncidentPostRequest>

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/" />