GET api/GetWinterRoadConditions

Returns all winter road conditions.

Request Information

https://www.511ny.org/api/getwinterroadconditions?key={key}&format={format}

URI Parameters

Api Call
NameDescriptionTypeAdditional information
key

string

Required

format

Valid values are xml or json.

string

Required

Response Information

Resource Description


Api Call
NameDescriptionTypeAdditional information
Condition

string

None.

AreaName

string

None.

LocationDescription

string

None.

RoadwayName

string

None.

Response Formats

application/xml, text/xml

Sample:
<RoadCondition xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Condition>sample string 1</Condition>
  <AreaName>sample string 2</AreaName>
  <LocationDescription>sample string 3</LocationDescription>
  <RoadwayName>sample string 4</RoadwayName>
</RoadCondition>

application/json, text/json

Sample:
{
  "Condition": "sample string 1",
  "AreaName": "sample string 2",
  "LocationDescription": "sample string 3",
  "RoadwayName": "sample string 4"
}