In May 2018, new response parameters were added to enhance the results from several of our Web Services APIs related to geocoding and reports, points of interest (POIs), directions, and hours of service. They include:


New response parameters in the Geocoding & Reporting APIs

  • StateName returns the full state name
  • StateAbbreviation returns the state code
  • CountryAbbreviation returns the country code


Example response 

[
    {
        "Address": {
            "StreetAddress": "",
            "City": "London",
            "State": "UK",
            "Zip": "SW1A 2",
            "County": "London",
            "Country": "United Kingdom",
            "SPLC": null,
            "CountryPostalFilter": 0,
            "AbbreviationFormat": 0,
            "StateName": "England",
            "StateAbbreviation": "ENG",
            "CountryAbbreviation": "UK"
        },
        "Coords": {
            "Lat": "51.506420",
            "Lon": "-0.127210"
        },
        "Region": 3,
        "Label": "",
        "PlaceName": "",
        "TimeZone": "+0:00",
        "Errors": [],
        "SpeedLimitInfo": null,
        "ConfidenceLevel": "Exact",
        "DistanceFromRoad": null,
        "CrossStreet": null
    }
]


New response parameters in the POI Radius Search API

  • PoiID includes a unique ID of the POI within a specific set
  • SetID includes the ID of the set


New response parameters in the Directions Report

  • Begin contains the starting coordinates of the report line
  • End contains the end coordinates of the report line
  • TurnInstruction is the string representing the type of turn for the report line
  • DriveSide contains the drive side for this report line
  • IsRoundabout¬†which is a boolean representing the roundabout status of the report line


New response parameters in the Hours of Service Report

  • TruckServices is a boolean that indicates whether the stop has truck services
  • AlternateRestStops is a list of alternatives to the suggested hours of service rest stop