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 Winter Road Conditions

Returns current road conditions.

Request Information

https://511ny.org/api/v2/get/winterroads

URI Parameters

URI Parameters
NameDescriptionTypeAdditional information
key

Developer Key

string

Required

format

Valid values are 'xml' or 'json', default 'json'.

string

Optional

Response Information

Resource Description


Resource Description
NameDescriptionType
Id

A unique identifier.

integer
LocationDescription

A description of the location that is affected. Often described as from one road to another.

string
Overall Status

Represents the primary status of the winter road condition.

string
Pavement Conditions

string
Weather Conditions

Represents the status of the weather conditions.

string
AreaName

Area name.

string
RoadwayName

The roadway which this condition affects.

string
EncodedPolyline

A single string storing a series of coordinates. More information

string
LastUpdated

The date the condition's details were last updated in Unix time. More information

integer

Response Formats

JSON

Sample:
[
  {
    "LocationDescription":"From Buckley to Gros Cap",
    "Condition": [
      "Bare and wet road",
      "Partly snow covered"
    ],
    "Visibility":"Good",
    "Drifting":"No",
    "Region":"Northeastern",
    "RoadwayName":"550",
    "EncodedPolyline":"ev~zG~hgcObD{SrAcI^mDF{ABsDC}EBoL?}QAmKFkD@QTsCFm@ZcBdA{Er@_Dd@mCB]JgATkD@KL{FJ{ABiBNeDFcDn@sQF}CGsFq@gFeAyDoD{L]mBWuBO{BC}BAuLB}CCgDBaBAwZM}HOsB_@sBg@oBOc@e@gAaAaBeAsAs@q@mHaFeBcBiA_Bs@oAi@iAeAgDUwAQiAWeCKkDFiEPwEXyEBoANmC@oCoAwW{Bma@CiCWeC{@ePEiBYoBsBeIAAQmBGsB?smBFoEGqA@a`BOwR",
	"LastUpdated":1556649906
  },
  {
    "LocationDescription":"From Prince to Pointe au Pins",
    "Condition": [
      "Bare and wet road"
    ],
    "Visibility":"Good",
    "Drifting":"No",
    "Region":"Northeastern",
    "RoadwayName":"565",
    "EncodedPolyline":"q_}zGjhtbOmUEwCDk@Ce[DeEIgQ?EAOCq@HC?CAME}@HA?iCA",
	"LastUpdated":1556120700
  }
]

XML

Sample:
<RoadConditionsList>
  <RoadConditions>
    <LocationDescription>From Buckley to Gros Cap</LocationDescription>
    <Condition>
     <Condition>Bare and wet road</Condition>
     <Condition>Partly snow covered</Condition>
    </Condition>
    <Visibility>Good</Visibility>
    <Drifting>No</Drifting>
    <Region>Northeastern</Region>
    <RoadwayName>550</RoadwayName>
    <EncodedPolyline>
      ev~zG~hgcObD{SrAcI^mDF{ABsDC}EBoL?}QAmKFkD@QTsCFm@ZcBdA{Er@_Dd@mCB]JgATkD@KL{FJ{ABiBNeDFcDn@sQF}CGsFq@gFeAyDoD{L]mBWuBO{BC}BAuLB}CCgDBaBAwZM}HOsB_@sBg@oBOc@e@gAaAaBeAsAs@q@mHaFeBcBiA_Bs@oAi@iAeAgDUwAQiAWeCKkDFiEPwEXyEBoANmC@oCoAwW{Bma@CiCWeC{@ePEiBYoBsBeIAAQmBGsB?smBFoEGqA@a`BOwR
    </EncodedPolyline>
	<LastUpdated>1557147600</LastUpdated>
  </RoadConditions>
  <RoadConditions>
    <LocationDescription>From Prince to Pointe au Pins</LocationDescription>
    <Condition>
     <Condition>Bare and wet road</Condition>
     <Condition>Partly snow covered</Condition>
    </Condition>
    <Visibility>Good</Visibility>
    <Drifting>No</Drifting>
    <Region>Northeastern</Region>
    <RoadwayName>565</RoadwayName>
    <EncodedPolyline>q_}zGjhtbOmUEwCDk@Ce[DeEIgQ?EAOCq@HC?CAME}@HA?iCA</EncodedPolyline>
	<LastUpdated>1556649906</LastUpdated>
  </RoadConditions>
</RoadConditionsList>