FOR OFFICIAL USE ONLY (FOUO) UNCLASSIFIED CONTROLLED INFORMATION (UCI)
UCI/FOUO may be distributed only after permission of the public information officer and the regional records access officer has granted and identified the recipient(s) and use of information. Mark conspicuously each part of an electronically transmitted message that contains UCI/FOUO information.

GET api/GetWinterRoadConditions

Returns all winter road conditions.

Request Information

https://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.

Polyline

Encoded poyline describing the geometry of the roadway segment. See: https://developers.google.com/maps/documentation/utilities/polylinealgorithm

string

None.

LastUpdated

integer

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>
  <Polyline>sample string 5</Polyline>
  <LastUpdated>1</LastUpdated>
</RoadCondition>

application/json, text/json

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