Traffic API Developer's Guide

Request Flow Availability

The user wants to obtain information about the traffic flow coverage available for the NTdefault profile at zoom level 10 in the current Traffic API (version 6.0.159.0).

Request

The profile parameter sets the customer profile for the requested coverage.

https://traffic.ls.hereapi.com/traffic/6.0/flowavailability.xml
?apiKey={YOUR_API_KEY}
&profile=NTdefault
&zoom=10
Note: This example uses a HERE API Key to authenticate your request. For the available authentication options, see the Identity & Access Management Developer Guide.

Response

The response to the request contains:
  • MetaInfo: information about the Map Version and the timestamp of the request
  • Profile: customer profile specified in the request
  • Region: TMC table ID and region name/IDs

  <?xml version="1.0" encoding="UTF-8"?>
<traffic_flow_availability:GetTrafficCoverageType xmlns:traffic_flow_availability="http://www.navteq.com/lbsp/LBSP-Traffic-GetCoverage/4">
  <Request>
    <MetaInfo>
      <VerboseMode>-1</VerboseMode>
    </MetaInfo>
    <Profile>NTdefault</Profile>
  </Request>
  <Response>
    <MetaInfo>
      <MapVersion>CDT_WORLD_MAP_ECC_SORTED</MapVersion>
      <ModuleVersion>6.0.67.1</ModuleVersion>
      <InterfaceVersion>6.0</InterfaceVersion>
      <Timestamp>2017-09-27T11:10:33.46:7Z</Timestamp>
    </MetaInfo>
    <Profile>NTdefault</Profile>
    <Region>
      <TmcTableId>A0101</TmcTableId>
      <Country3>USA</Country3>
      <Country2>US</Country2>
      <Name>Alabama/Georgia USA</Name>
    </Region>
    <Region>
      <TmcTableId>A0102</TmcTableId>
      <Country3>USA</Country3>
      <Country2>US</Country2>
      <Name>Florida USA</Name>
    </Region>
    <Region>
      <TmcTableId>A0103</TmcTableId>
      <Country3>USA</Country3>
      <Country2>US</Country2>
      <Name>Eastern PA/Southern NJ/Delaware USA</Name>
    </Region>
    <Region>
      <TmcTableId>A0104</TmcTableId>
      <Country3>USA</Country3>
      <Country2>US</Country2>
      <Name>Western PA/New York USA</Name>
    </Region>
    <!-- ... -->
  </Response>
</traffic_flow_availability:GetTrafficCoverageType>
  
Note: Adding the mapview parameter to the request, for example &mapview=50.73818,7.09992;50.73736,7.10123, restricts the response to the specified map view. So the response contains only information on one region.