{"info":{"_postman_id":"ee8152e3-e261-4487-8010-48466644497f","name":"Stau1 API (Beta)","description":"<html><head></head><body><p>The Stau1 API consists of a set of REST API endpoints providing access to historic, incident-based traffic data in Germany as well as related road and location data. Most data and data structures are based on or derived from the <a href=\"https://de.wikipedia.org/wiki/Traffic_Message_Channel\">TMC</a> standard.</p>\n<p>Any usage of API endpoints described in this documentation as well as the documentation itself is subject to TechSeed GmbH's <a href=\"https://stau1.de/about/agb.php\">General Terms</a>, its <a href=\"https://stau1.de/about/agb-stauarchiv-api.php\">API Terms &amp; Conditions</a> and <a href=\"https://stau1.de/about/datenschutz.php\">Privacy Policy</a>.<br>&nbsp;</p>\n<h3 id=\"traffic-archive-api\">Traffic Archive API</h3>\n<p>Stau1's Traffic Data Archive Search API allows retrieving historic traffic information reported for highways (Autobahnen) and other local roads types (Bundesstraßen, Landstraßen) in Germany.<br>The data pool consists of incident-based traffic events as reported and electronically transmitted to our database by local state government- and police agencies.   </p>\n<blockquote>\n<p>IMPORTANT DISCLAIMER: Although comprehensive and covering the majority of traffic events, Stau1 and its data sources are not liable for completeness and accuracy of traffic data collected.</p>\n</blockquote>\n<p>See <a href=\"#a728b657-ebdc-4b11-86d4-058c19016da5\">Traffic Archive API Reference</a>  </p>\n<p>&nbsp;   </p>\n<h3 id=\"road-data-api\">Road Data API</h3>\n<p>Whenever possible, the location of a traffic incident is allocated to a specific road and road section. The Road Data API provides respective Road Location Data for a given road or region.  </p>\n<p>See <a href=\"#d4907fa4-8741-45ff-ae51-9fa53ee041bf\">Road Data API Reference</a><br>&nbsp;</p>\n<h3 id=\"event-code-api\">Event Code API</h3>\n<p>This API endpoint allows querying the traffic incident event code database and is helpful for decoding event codes provided by the Traffic Archive API.   </p>\n<p>See <a href=\"#f8308e55-31dd-4db1-8ba1-c326d0dd636e\">Event Code API Reference</a><br>&nbsp;  </p>\n<h3 id=\"region-codes\">Region Codes</h3>\n<p>Traffic and Road data can be filtered by State (Bundesland). Different German states are represented by Region IDs.<br>See <a href=\"#4dc3f6dc-9443-4153-86ab-76ee13a953ed\">List of Region IDs</a><br>&nbsp;  </p>\n<h1 id=\"authentication\">Authentication</h1>\n<p>Simple authentication is provided via a dedicated API key. Since API usage charges are dependent on the number of requests performed during a certain time period and are attributed to your API key, it is important that you don't expose your API key to the public in order to prevent misue of your account which may result in unexpected charges.</p>\n<blockquote>\n<p>The API key used in this documentation is for testing purposes only and limited to querying traffic incidents of July 1, 2019.</p>\n</blockquote>\n<h1 id=\"error-codes\">Error Codes</h1>\n<p>In case an API request results in an error, the error is represented by an error object in the JSON response object.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Error</th>\n<th>Message</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>E0000</td>\n<td>Network Error</td>\n<td>No Internet connection or server temporarily unavailable.</td>\n</tr>\n<tr>\n<td>E0001</td>\n<td>Unknown Error</td>\n<td>An unspecified error occurred. Contact support along with the API request that caused the error to occur.</td>\n</tr>\n<tr>\n<td>E0002</td>\n<td>Failed loading data</td>\n<td>An internal read operation failed on the Stau1 API server.</td>\n</tr>\n<tr>\n<td>E0003</td>\n<td>Failed saving data</td>\n<td>An internal write operation failed on the Stau1 API server.</td>\n</tr>\n<tr>\n<td>E0004</td>\n<td>Invalid input parameter</td>\n<td>One of the input parameters provided for the API request is invalid.</td>\n</tr>\n<tr>\n<td>E0006</td>\n<td>Authorization failed</td>\n<td>The API key is invalid or not authorized to perform the request.</td>\n</tr>\n<tr>\n<td>E0100</td>\n<td>Invalid or missing input parameter</td>\n<td>An unspecified but mandatory parameter is missing or invalid.</td>\n</tr>\n<tr>\n<td>E0101</td>\n<td>Missing start or end parameter</td>\n<td>A Traffic Archive API request is either missing a <em>start</em> or <em>end</em> parameter.</td>\n</tr>\n<tr>\n<td>E0102</td>\n<td>Region and near cannot be combined</td>\n<td>The <em>regions</em> and <em>near</em> parameter cannot be combined when querying  the Traffic Archive API.</td>\n</tr>\n<tr>\n<td>E0104</td>\n<td>Age out of range</td>\n<td>The value used for the <em>age</em> parameter on a Traffic API request is invalid.</td>\n</tr>\n<tr>\n<td>E0105</td>\n<td>Age cannot be combined with start/ end</td>\n<td>The <em>age</em> parameter cannot be used during Traffic Archive API request.</td>\n</tr>\n<tr>\n<td>E0106</td>\n<td>Invalid near parameter</td>\n<td>The value used for the <em>near</em> parameter on a Traffic Archive API call is invalid.</td>\n</tr>\n<tr>\n<td>E0107</td>\n<td>Invalid time range</td>\n<td>The time range specified by <em>start</em> and <em>end</em> parameters must not exceed 24 hours.</td>\n</tr>\n<tr>\n<td>E0108</td>\n<td>Invalid region</td>\n<td>The value used for the <em>regions</em> parameter on a Traffic API request is invalid.</td>\n</tr>\n<tr>\n<td>E0130</td>\n<td>Error obtaining road info</td>\n<td>The road info requested by the Road Data API could not be provided.</td>\n</tr>\n</tbody>\n</table>\n</div><p>&nbsp; \n&nbsp;   </p>\n<h1 id=\"api-reference\">API Reference</h1>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Authentication","slug":"authentication"},{"content":"Error Codes","slug":"error-codes"},{"content":"API Reference","slug":"api-reference"}],"owner":"9517860","collectionId":"ee8152e3-e261-4487-8010-48466644497f","publishedId":"SW7f16WE","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"B94A48"},"publishDate":"2020-01-04T18:34:42.000Z"},"item":[{"name":"Traffic Archive API","item":[{"name":"Search Historic Traffic Data","id":"cbf69765-d66d-412a-bd7c-55b1e7633d72","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.stau1.de/messages/search?apikey=mbnKf6hhPsSMAGvLBKUIlosDmE&start=201907010700&end=201907010800&roads=A3|50101.23|50101.234|-1,A42&roadids=50101|50101.23|50101.234|-1,7105&roadtypes=1,2&regions=260,261&near=6.9591,50.9410&radius=10&locpoints=1&history=1&eventcodes=1&page=1&amtpp=10","description":"<p>This endpoint returns a list of traffic incidents (=<a href=\"#3ece002a-2809-420a-ba2f-69ab0af1a861\">Messages</a>) reported during a certain period of time for selected roads, road segments, regions or a combination of all of those.</p>\n","urlObject":{"protocol":"https","path":["messages","search"],"host":["api","stau1","de"],"query":[{"description":{"content":"<p>[required] Please replace with your own API key that is assigned to your Stau1 account.</p>\n","type":"text/plain"},"key":"apikey","value":"mbnKf6hhPsSMAGvLBKUIlosDmE"},{"description":{"content":"<p>[required] In combination with the <strong>end</strong> param, sets the time period of the search request. The selected time period must not exceed 24 hours. Date \nTime Format is <em>YYYYMMDDhhmm</em>.</p>\n","type":"text/plain"},"key":"start","value":"201907010700"},{"description":{"content":"<p>[required] In combination with the <strong>start</strong> param, sets the time period of the search request. The selected time period must not exceed 24 hours. Date \nTime Format is <em>YYYYMMDDhhmm</em>.\nThe selected time period in this example ranges from <em>July 1, 2019 7:00AM to 8:00AM</em>.</p>\n","type":"text/plain"},"key":"end","value":"201907010800"},{"description":{"content":"<p>[optional] Limits the search to a single or a comma separated list of road name(s) or even sub-sections of roads. In this example the search is limited to incidents on Autobahn <em>A3</em> and <em>A42</em>. However, for Autobahn <em>A3</em> only traffic incidents affecting the road's Location Points <em>50101.23</em> (=Kreuz Kaiserberg) and <em>50101.234</em> (Kreuz Oberhausen) or Location Points between those points are considered.  </p>\n<p><strong>Format:</strong> <em>roadName</em>[|<em>locPoint1</em>|<em>locPoint2</em>|<em>direction</em>]  </p>\n<ul>\n<li><em>roadName</em>: e.g. <em>A1</em>, <em>B8</em> or <em>L145</em></li>\n</ul>\n<p>Optional (if one of the following is set the remaining two need to be set as well):</p>\n<ul>\n<li><em>locPoint1</em>:  The Road Location Id of <em>roadName</em> defining the start of the road section to be searched for traffic incidents.</li>\n<li><em>locPoint2</em>: The Road Location Id of <em>roadName</em> defining the end of the road section to be searched for traffic incidents.</li>\n<li><em>direction</em>: 0 = road is searched in both driving directions; 1 = road is searched in its ordinary driving direction only; -1 = road is searched in the opposite driving direction only.</li>\n</ul>\n","type":"text/plain"},"key":"roads","value":"A3|50101.23|50101.234|-1,A42"},{"description":{"content":"<p>[optional] <strong>roadids</strong> is identical with the <strong>roads</strong> parameter with the only difference that roads are identified by their <code>roadId</code> instead of their name. See <a href=\"#d4907fa4-8741-45ff-ae51-9fa53ee041bf\">Road Data API Documentation</a> for details.<br />In this example the <code>roadId</code> <em>50101</em> represents Autobahn A3 whereas <em>7105</em> is Autobahn A42.<br />Parameters <strong>roadids</strong> and <strong>roads</strong> cannot be used in combination.</p>\n","type":"text/plain"},"key":"roadids","value":"50101|50101.23|50101.234|-1,7105"},{"description":{"content":"<p>[optional] When used limits the search to one single or a comma separated list of road types:   </p>\n<ul>\n<li><em>1</em> = Highways/Motorways (=Bundesautobahnen, e.g. <em>A3</em>)</li>\n<li><em>2</em> = State Roads (=Bundesstraßen, e.g. <em>B8</em>)</li>\n<li><em>3</em> = Country Roads (=Landstraßen, e.g. <em>L145</em>)</li>\n<li><em>4</em> = Other local roads</li>\n</ul>\n","type":"text/plain"},"key":"roadtypes","value":"1,2"},{"description":{"content":"<p>[optional] Limits the search to traffic incidents located in a single or a comma separated list of regions. Each region ID represents a German state. In order to include all states in the research result simply remove this parameter entirely from your query.<br />Please refer to the <a href=\"#4dc3f6dc-9443-4153-86ab-76ee13a953ed\">Region Code Documentation</a> to see which region ID is matching which state.</p>\n","type":"text/plain"},"key":"regions","value":"260,261"},{"description":{"content":"<p>[optional] Limits the search to incidents located within a radius of 25 kilometers around the geo location defined by <em>longitude</em>,<em>latitude</em> values in this parameter. An additional <strong>radius</strong> parameter can be used to adjust the radius ranging from 1 to 100 kilometers.<br />The <strong>near</strong> parameter cannot be used in conjunction with <strong>regions</strong>.</p>\n","type":"text/plain"},"key":"near","value":"6.9591,50.9410"},{"description":{"content":"<p>[optional] Only valid in conjunction with <strong>near</strong> parameter. Values can range from 1 to 100, default value is 25. The radius is measured in kilometers.</p>\n","type":"text/plain"},"key":"radius","value":"10"},{"description":{"content":"<p>[optional] If set to 1, the <code>versions[]</code> object of the API response includes an array of affected <a href=\"#ca725936-df97-40dd-b624-b6514756006b\">Road Location Points</a> in <code>messages[key]</code>.<code>versions[]</code>.<code>points[]</code>.</p>\n","type":"text/plain"},"key":"locpoints","value":"1"},{"description":{"content":"<p>[optional] If set to 1, the <code>messages[key]</code>.<code>versions[]</code> array not only contains the earliest version of a message but includes all versions sorted by their publishing date.</p>\n","type":"text/plain"},"key":"history","value":"1"},{"description":{"content":"<p>[optional] If set to 1 each message version in the <code>versions[]</code> array of the API response contains an <code>events</code> array which is encoding the traffic event in a standardized format as described in the <a href=\"#f8308e55-31dd-4db1-8ba1-c326d0dd636e\">Traffic Event API</a> documentation.</p>\n","type":"text/plain"},"key":"eventcodes","value":"1"},{"description":{"content":"<p>[optional] Default value is 1. The search result is paginated. The amount of result sets per page is determined by the <strong>amtpp</strong> parameter which defaults to 25. The API response provides information about the amount of available pages in the <code>stats</code>.<code>pages</code> property.</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>[optional] The amount of search results which are returned per page / request. The default and maximum value is 25.</p>\n","type":"text/plain"},"key":"amtpp","value":"10"}],"variable":[]}},"response":[{"id":"3e4c5047-6fe3-4030-acad-110d6ca1b0c7","name":"Search Historic Traffic Data Example","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.stau1.de/messages/search?apikey=mbnKf6hhPsSMAGvLBKUIlosDmE&start=201907010700&end=201907010800&roads=A3|50101.23|50101.234|-1,A42&regions=260","protocol":"https","host":["api","stau1","de"],"path":["messages","search"],"query":[{"key":"apikey","value":"mbnKf6hhPsSMAGvLBKUIlosDmE","description":"[required] API Key necessary to authorize requests. Replace with your personal API key issued to you by Stau1.\nThe API key in this sample request can only be used for querying traffic reports on July 1, 2019\n"},{"key":"start","value":"201907010700","description":"[required] In combination with the **end** param, sets the time period of the search request. The selected time period must not exceed 24 hours. Date \nTime Format is *YYYYMMDDHHMM*.\n\n"},{"key":"end","value":"201907010800","description":"[required] In combination with the **start** param, sets the time period of the search request. The selected time period must not exceed 24 hours. Date \nTime Format is *YYYYMMDDHHMM*.\nThe selected time period in this sample ranges from *July 1, 2019 7:00AM to 8:00AM*."},{"key":"roads","value":"A3|50101.23|50101.234|-1,A42","description":"[optional] Limits the search to a single or a comma separated list of road name(s) or even sub-sections of roads. In this example the search is limited to incidents on Autobahn *A3* and *A42*. However, for Autobahn *A3* only traffic incidents affecting the road's Location Points *50101.23* (=Kreuz Kaiserberg) and *50101.234* (Kreuz Oberhausen) or Location Points between those points are considered.  \n\n**Format:** *roadName*[|*locPoint1*|*locPoint2*|*direction*]  \n* *roadName*: e.g. *A1*, *B8* or *L145*\n  \nOptional (if one of the following is set the remaining two need to be set as well):\n* *locPoint1*:  The Road Location Id of *roadName* defining the start of the road section to be searched for traffic incidents.\n* *locPoint2*: The Road Location Id of *roadName* defining the end of the road section to be searched for traffic incidents.\n* *direction*: 0 = road is searched in both driving directions; 1 = road is searched in its ordinary driving direction only; -1 = road is searched in the opposite driving direction only.\n\n"},{"key":"regions","value":"260"},{"key":"","value":"","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 26 Nov 2019 01:07:25 GMT"},{"key":"Server","value":"Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips"},{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"21492"},{"key":"ETag","value":"W/\"53f4-PYo/bO8UOGbxP4u+pPWBpVGvNM0\""},{"key":"X-FRAME-OPTIONS","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"success\",\n  \"result\": {\n    \"params\": {\n      \"start\": \"201907010700\",\n      \"end\": \"201907010800\",\n      \"roads\": [\n        \"A3|50101.234|50101.23|-1\",\n        \"A42\"\n      ],\n      \"roadIds\": [\n        \n      ],\n      \"regions\": [\n        260\n      ],\n      \"flexGeo\": 0,\n      \"age\": 24,\n      \"history\": 0,\n      \"locPoints\": 0,\n      \"eventCodes\": 0,\n      \"page\": 1,\n      \"amtpp\": 20\n    },\n    \"stats\": {\n      \"total\": 15,\n      \"pages\": 1,\n      \"version\": 1578013505649,\n      \"page\": 1,\n      \"sections\": [\n        \n      ],\n      \"regions\": [\n        260\n      ],\n      \"amt\": 15,\n      \"rect\": [\n        [\n          52.44035,\n          7.250629713615012\n        ],\n        [\n          50.33895,\n          9.4346\n        ]\n      ],\n      \"cacheId\": \"1b18bc9483e5475ff69f0c5f5ad43a3076935281\"\n    },\n    \"messages\": {\n      \"6b2SW3ty5P\": {\n        \"srcId\": \"DNWLMSNW98384-20190701T041700Z\",\n        \"source\": \"viz\",\n        \"region\": [\n          260\n        ],\n        \"versions\": [\n          {\n            \"direction\": -1,\n            \"inserted\": \"2019-07-01T04:25:10.231Z\",\n            \"srcId\": \"DNWLMS-NW-98384-2019-07-01T04:17:00Z\",\n            \"hashId\": \"2RaEhejsXc\",\n            \"published\": \"2019-07-01T04:17:00.000Z\",\n            \"pubStr\": \"Jul 1, 2019, 6:17 AM - 8:32 AM Uhr\",\n            \"text\": {\n              \"road\": \"A3\",\n              \"segment\": \"Arnheim - Oberhausen\",\n              \"section\": \"zwischen Kreuz Oberhausen und Oberhausen-Holten (11)\",\n              \"events\": \"Stau\"\n            },\n            \"points\": [\n              \n            ],\n            \"coords\": [\n              \n            ],\n            \"events\": [\n              \n            ]\n          }\n        ],\n        \"status\": \"expired\",\n        \"published\": \"2019-07-01T04:17:00.000Z\",\n        \"updated\": \"2019-07-01T06:20:14.617Z\",\n        \"expires\": \"2019-07-01T06:32:15.712Z\",\n        \"pubStr\": \"Jul 1, 2019, 6:17 AM - 8:32 AM Uhr\",\n        \"road\": {\n          \"roadId\": 50101,\n          \"road\": \"A3\",\n          \"roadName\": \"\",\n          \"type\": \"L1.1\"\n        }\n      },\n      \"cyVHqRbHTv\": {\n        \"srcId\": \"DNWLMSNW98397-20190701T043403Z\",\n        \"source\": \"viz\",\n        \"region\": [\n          260\n        ],\n        \"versions\": [\n          {\n            \"direction\": -1,\n            \"inserted\": \"2019-07-01T04:40:12.048Z\",\n            \"srcId\": \"DNWLMS-NW-98397-2019-07-01T04:34:03Z\",\n            \"hashId\": \"0MjOrZS6n3\",\n            \"published\": \"2019-07-01T04:34:03.000Z\",\n            \"pubStr\": \"Jul 1, 2019, 6:34 AM - 7:07 AM Uhr\",\n            \"text\": {\n              \"road\": \"A3\",\n              \"segment\": \"Oberhausen - Köln\",\n              \"section\": \"zwischen Oberhausen-Lirich (13) und Kreuz Kaiserberg (14)\",\n              \"events\": \"1 km Stau\"\n            },\n            \"points\": [\n              \n            ],\n            \"coords\": [\n              \n            ],\n            \"events\": [\n              \n            ]\n          }\n        ],\n        \"status\": \"expired\",\n        \"published\": \"2019-07-01T04:34:03.000Z\",\n        \"updated\": \"2019-07-01T04:55:12.531Z\",\n        \"expires\": \"2019-07-01T05:07:14.995Z\",\n        \"pubStr\": \"Jul 1, 2019, 6:34 AM - 7:07 AM Uhr\",\n        \"road\": {\n          \"roadId\": 50101,\n          \"road\": \"A3\",\n          \"roadName\": \"\",\n          \"type\": \"L1.1\"\n        }\n      },\n      \"eMqWj6tLDW\": {\n        \"srcId\": \"DNWLMSNW98399-20190701T043603Z\",\n        \"source\": \"viz\",\n        \"region\": [\n          260\n        ],\n        \"versions\": [\n          {\n            \"direction\": -1,\n            \"inserted\": \"2019-07-01T04:45:12.870Z\",\n            \"srcId\": \"DNWLMS-NW-98399-2019-07-01T04:36:03Z\",\n            \"hashId\": \"RaXSOoK4Pd\",\n            \"published\": \"2019-07-01T04:36:03.000Z\",\n            \"pubStr\": \"Jul 1, 2019, 6:36 AM - 7:09 AM Uhr\",\n            \"text\": {\n              \"road\": \"A3\",\n              \"segment\": \"Arnheim - Oberhausen\",\n              \"section\": \"zwischen Dinslaken-Süd (9) und Kreuz Oberhausen (10)\",\n              \"events\": \"Gefahr durch ungesicherte Unfallstelle\"\n            },\n            \"points\": [\n              \n            ],\n            \"coords\": [\n              \n            ],\n            \"events\": [\n              \n            ]\n          }\n        ],\n        \"status\": \"expired\",\n        \"published\": \"2019-07-01T04:36:03.000Z\",\n        \"updated\": \"2019-07-01T04:55:12.033Z\",\n        \"expires\": \"2019-07-01T05:09:57.000Z\",\n        \"pubStr\": \"Jul 1, 2019, 6:36 AM - 7:09 AM Uhr\",\n        \"road\": {\n          \"roadId\": 50101,\n          \"road\": \"A3\",\n          \"roadName\": \"\",\n          \"type\": \"L1.1\"\n        }\n      },\n      \"rI7A9mTS4S\": {\n        \"srcId\": \"DNWLMSNW98467-20190701T052907Z\",\n        \"source\": \"viz\",\n        \"region\": [\n          260\n        ],\n        \"versions\": [\n          {\n            \"direction\": -1,\n            \"inserted\": \"2019-07-01T05:35:12.366Z\",\n            \"srcId\": \"DNWLMS-NW-98467-2019-07-01T05:29:07Z\",\n            \"hashId\": \"kIgLQwQ2iO\",\n            \"published\": \"2019-07-01T05:29:07.000Z\",\n            \"pubStr\": \"Jul 1, 2019, 7:29 AM - 7:52 AM Uhr\",\n            \"text\": {\n              \"road\": \"A3\",\n              \"segment\": \"Oberhausen - Köln\",\n              \"section\": \"zwischen Oberhausen-Lirich (13) und Kreuz Kaiserberg (14)\",\n              \"events\": \"1 km Stau\"\n            },\n            \"points\": [\n              \n            ],\n            \"coords\": [\n              \n            ],\n            \"events\": [\n              \n            ]\n          }\n        ],\n        \"status\": \"expired\",\n        \"published\": \"2019-07-01T05:29:07.000Z\",\n        \"updated\": \"2019-07-01T05:35:12.366Z\",\n        \"expires\": \"2019-07-01T05:52:14.736Z\",\n        \"pubStr\": \"Jul 1, 2019, 7:29 AM - 7:52 AM Uhr\",\n        \"road\": {\n          \"roadId\": 50101,\n          \"road\": \"A3\",\n          \"roadName\": \"\",\n          \"type\": \"L1.1\"\n        }\n      },\n      \"X7ZhDBZANp\": {\n        \"srcId\": \"DNWLMSNW98476-20190701T053634Z\",\n        \"source\": \"viz\",\n        \"region\": [\n          260\n        ],\n        \"versions\": [\n          {\n            \"direction\": -1,\n            \"inserted\": \"2019-07-01T05:45:10.463Z\",\n            \"srcId\": \"DNWLMS-NW-98476-2019-07-01T05:36:34Z\",\n            \"hashId\": \"Zwazs1gFg3\",\n            \"published\": \"2019-07-01T05:36:34.000Z\",\n            \"pubStr\": \"Jul 1, 2019, 7:36 AM - 8:12 AM Uhr\",\n            \"text\": {\n              \"road\": \"A3\",\n              \"segment\": \"Oberhausen - Köln\",\n              \"section\": \"zwischen Kreuz Kaiserberg (14) und Duisburg-Wedau (15)\",\n              \"events\": \"2 km Stau\"\n            },\n            \"points\": [\n              \n            ],\n            \"coords\": [\n              \n            ],\n            \"events\": [\n              \n            ]\n          }\n        ],\n        \"status\": \"expired\",\n        \"published\": \"2019-07-01T05:36:34.000Z\",\n        \"updated\": \"2019-07-01T06:00:12.807Z\",\n        \"expires\": \"2019-07-01T06:12:15.764Z\",\n        \"pubStr\": \"Jul 1, 2019, 7:36 AM - 8:12 AM Uhr\",\n        \"road\": {\n          \"roadId\": 50101,\n          \"road\": \"A3\",\n          \"roadName\": \"\",\n          \"type\": \"L1.1\"\n        }\n      },\n      \"9yTpQ0qmyt\": {\n        \"srcId\": \"DNWLMSNW98507-20190701T055933Z\",\n        \"source\": \"viz\",\n        \"region\": [\n          260\n        ],\n        \"versions\": [\n          {\n            \"direction\": -1,\n            \"inserted\": \"2019-07-01T06:05:11.825Z\",\n            \"srcId\": \"DNWLMS-NW-98507-2019-07-01T05:59:33Z\",\n            \"hashId\": \"UrszbCuLpg\",\n            \"published\": \"2019-07-01T05:59:33.000Z\",\n            \"pubStr\": \"Jul 1, 2019, 7:59 AM - 8:17 AM Uhr\",\n            \"text\": {\n              \"road\": \"A3\",\n              \"segment\": \"Oberhausen - Köln\",\n              \"section\": \"zwischen Oberhausen-Lirich (13) und Kreuz Kaiserberg (14)\",\n              \"events\": \"1 km Stau\"\n            },\n            \"points\": [\n              \n            ],\n            \"coords\": [\n              \n            ],\n            \"events\": [\n              \n            ]\n          }\n        ],\n        \"status\": \"expired\",\n        \"published\": \"2019-07-01T05:59:33.000Z\",\n        \"updated\": \"2019-07-01T06:05:11.825Z\",\n        \"expires\": \"2019-07-01T06:17:16.524Z\",\n        \"pubStr\": \"Jul 1, 2019, 7:59 AM - 8:17 AM Uhr\",\n        \"road\": {\n          \"roadId\": 50101,\n          \"road\": \"A3\",\n          \"roadName\": \"\",\n          \"type\": \"L1.1\"\n        }\n      },\n      \"RudSOH73bE\": {\n        \"srcId\": \"DNWLMSNW98412-20190701T045108Z\",\n        \"source\": \"viz\",\n        \"region\": [\n          260\n        ],\n        \"versions\": [\n          {\n            \"direction\": -1,\n            \"inserted\": \"2019-07-01T05:00:11.559Z\",\n            \"srcId\": \"DNWLMS-NW-98412-2019-07-01T04:51:08Z\",\n            \"hashId\": \"ebFIJb1OJM\",\n            \"published\": \"2019-07-01T04:51:08.000Z\",\n            \"pubStr\": \"Jul 1, 2019, 6:51 AM - 7:12 AM Uhr\",\n            \"text\": {\n              \"road\": \"A42\",\n              \"segment\": \"Dortmund - Kamp-Lintfort\",\n              \"section\": \"zwischen Gelsenkirchen-Schalke (17) und Gelsenkirchen-Zentrum (16)\",\n              \"events\": \"2 km Stau\"\n            },\n            \"points\": [\n              \n            ],\n            \"coords\": [\n              \n            ],\n            \"events\": [\n              \n            ]\n          }\n        ],\n        \"status\": \"expired\",\n        \"published\": \"2019-07-01T04:51:08.000Z\",\n        \"updated\": \"2019-07-01T05:00:11.559Z\",\n        \"expires\": \"2019-07-01T05:12:13.892Z\",\n        \"pubStr\": \"Jul 1, 2019, 6:51 AM - 7:12 AM Uhr\",\n        \"road\": {\n          \"roadId\": 7105,\n          \"road\": \"A42\",\n          \"roadName\": \"\",\n          \"type\": \"L1.1\"\n        }\n      },\n      \"yBpmV8qWIf\": {\n        \"srcId\": \"DNWLMSNW98430-20190701T050402Z\",\n        \"source\": \"viz\",\n        \"region\": [\n          260\n        ],\n        \"versions\": [\n          {\n            \"direction\": -1,\n            \"inserted\": \"2019-07-01T05:10:12.341Z\",\n            \"srcId\": \"DNWLMS-NW-98430-2019-07-01T05:04:02Z\",\n            \"hashId\": \"UxzHOOedGt\",\n            \"published\": \"2019-07-01T05:04:02.000Z\",\n            \"pubStr\": \"Jul 1, 2019, 7:04 AM - 7:37 AM Uhr\",\n            \"text\": {\n              \"road\": \"A42\",\n              \"segment\": \"Dortmund - Kamp-Lintfort\",\n              \"section\": \"zwischen Gelsenkirchen-Schalke (17) und Gelsenkirchen-Zentrum (16)\",\n              \"events\": \"Stau\"\n            },\n            \"points\": [\n              \n            ],\n            \"coords\": [\n              \n            ],\n            \"events\": [\n              \n            ]\n          }\n        ],\n        \"status\": \"expired\",\n        \"published\": \"2019-07-01T05:04:02.000Z\",\n        \"updated\": \"2019-07-01T05:20:11.643Z\",\n        \"expires\": \"2019-07-01T05:37:17.015Z\",\n        \"pubStr\": \"Jul 1, 2019, 7:04 AM - 7:37 AM Uhr\",\n        \"road\": {\n          \"roadId\": 7105,\n          \"road\": \"A42\",\n          \"roadName\": \"\",\n          \"type\": \"L1.1\"\n        }\n      },\n      \"iMhcbV4Opp\": {\n        \"srcId\": \"DNWLMSNW98432-20190701T050529Z\",\n        \"source\": \"viz\",\n        \"region\": [\n          260\n        ],\n        \"versions\": [\n          {\n            \"direction\": 1,\n            \"inserted\": \"2019-07-01T05:10:15.410Z\",\n            \"srcId\": \"DNWLMS-NW-98432-2019-07-01T05:05:29Z\",\n            \"hashId\": \"uhqcy408AL\",\n            \"published\": \"2019-07-01T05:05:29.000Z\",\n            \"pubStr\": \"Jul 1, 2019, 7:05 AM - 7:54 AM Uhr\",\n            \"text\": {\n              \"road\": \"A42\",\n              \"segment\": \"Kamp-Lintfort - Dortmund\",\n              \"section\": \"zwischen Kreuz Kamp-Lintfort (1, 8) und Moers-Nord (2) brennender PKW\",\n              \"events\": \"\"\n            },\n            \"points\": [\n              \n            ],\n            \"coords\": [\n              \n            ],\n            \"events\": [\n              \n            ]\n          }\n        ],\n        \"status\": \"expired\",\n        \"published\": \"2019-07-01T05:05:29.000Z\",\n        \"updated\": \"2019-07-01T05:40:14.878Z\",\n        \"expires\": \"2019-07-01T05:54:38.000Z\",\n        \"pubStr\": \"Jul 1, 2019, 7:05 AM - 7:54 AM Uhr\",\n        \"road\": {\n          \"roadId\": 7105,\n          \"road\": \"A42\",\n          \"roadName\": \"\",\n          \"type\": \"L1.1\"\n        }\n      },\n      \"rOwgOpyPAe\": {\n        \"srcId\": \"DNWLMSNW98449-20190701T051707Z\",\n        \"source\": \"viz\",\n        \"region\": [\n          260\n        ],\n        \"versions\": [\n          {\n            \"direction\": 1,\n            \"inserted\": \"2019-07-01T05:25:08.940Z\",\n            \"srcId\": \"DNWLMS-NW-98449-2019-07-01T05:17:07Z\",\n            \"hashId\": \"gqLoAWZiJD\",\n            \"published\": \"2019-07-01T05:17:07.000Z\",\n            \"pubStr\": \"Jul 1, 2019, 7:17 AM - 8:02 AM Uhr\",\n            \"text\": {\n              \"road\": \"A42\",\n              \"segment\": \"Kamp-Lintfort - Dortmund\",\n              \"section\": \"zwischen Moers-Nord (2) und Duisburg-Baerl (3)\",\n              \"events\": \"Stau\"\n            },\n            \"points\": [\n              \n            ],\n            \"coords\": [\n              \n            ],\n            \"events\": [\n              \n            ]\n          }\n        ],\n        \"status\": \"expired\",\n        \"published\": \"2019-07-01T05:17:07.000Z\",\n        \"updated\": \"2019-07-01T05:25:08.940Z\",\n        \"expires\": \"2019-07-01T06:02:15.721Z\",\n        \"pubStr\": \"Jul 1, 2019, 7:17 AM - 8:02 AM Uhr\",\n        \"road\": {\n          \"roadId\": 7105,\n          \"road\": \"A42\",\n          \"roadName\": \"\",\n          \"type\": \"L1.1\"\n        }\n      },\n      \"3TUmO4RSAb\": {\n        \"srcId\": \"DNWLMSNW98465-20190701T052713Z\",\n        \"source\": \"viz\",\n        \"region\": [\n          260\n        ],\n        \"versions\": [\n          {\n            \"direction\": -1,\n            \"inserted\": \"2019-07-01T05:35:09.723Z\",\n            \"srcId\": \"DNWLMS-NW-98465-2019-07-01T05:27:13Z\",\n            \"hashId\": \"sbIBdTybW1\",\n            \"published\": \"2019-07-01T05:27:13.000Z\",\n            \"pubStr\": \"Jul 1, 2019, 7:27 AM - 7:47 AM Uhr\",\n            \"text\": {\n              \"road\": \"A42\",\n              \"segment\": \"Dortmund - Kamp-Lintfort\",\n              \"section\": \"zwischen Kreuz Herne (21) und Herne-Crange (20)\",\n              \"events\": \"2 km Stau\"\n            },\n            \"points\": [\n              \n            ],\n            \"coords\": [\n              \n            ],\n            \"events\": [\n              \n            ]\n          }\n        ],\n        \"status\": \"expired\",\n        \"published\": \"2019-07-01T05:27:13.000Z\",\n        \"updated\": \"2019-07-01T05:35:09.723Z\",\n        \"expires\": \"2019-07-01T05:47:16.455Z\",\n        \"pubStr\": \"Jul 1, 2019, 7:27 AM - 7:47 AM Uhr\",\n        \"road\": {\n          \"roadId\": 7105,\n          \"road\": \"A42\",\n          \"roadName\": \"\",\n          \"type\": \"L1.1\"\n        }\n      },\n      \"ZJrnRufEuo\": {\n        \"srcId\": \"DNWLMSNW98473-20190701T053534Z\",\n        \"source\": \"viz\",\n        \"region\": [\n          260\n        ],\n        \"versions\": [\n          {\n            \"direction\": -1,\n            \"inserted\": \"2019-07-01T05:40:12.082Z\",\n            \"srcId\": \"DNWLMS-NW-98473-2019-07-01T05:35:34Z\",\n            \"hashId\": \"w7ubEqspW5\",\n            \"published\": \"2019-07-01T05:35:34.000Z\",\n            \"pubStr\": \"Jul 1, 2019, 7:35 AM - 8:02 AM Uhr\",\n            \"text\": {\n              \"road\": \"A42\",\n              \"segment\": \"Dortmund - Kamp-Lintfort\",\n              \"section\": \"zwischen Gelsenkirchen-Schalke (17) und Gelsenkirchen-Zentrum (16)\",\n              \"events\": \"2 km Stau\"\n            },\n            \"points\": [\n              \n            ],\n            \"coords\": [\n              \n            ],\n            \"events\": [\n              \n            ]\n          }\n        ],\n        \"status\": \"expired\",\n        \"published\": \"2019-07-01T05:35:34.000Z\",\n        \"updated\": \"2019-07-01T05:45:10.638Z\",\n        \"expires\": \"2019-07-01T06:02:15.721Z\",\n        \"pubStr\": \"Jul 1, 2019, 7:35 AM - 8:02 AM Uhr\",\n        \"road\": {\n          \"roadId\": 7105,\n          \"road\": \"A42\",\n          \"roadName\": \"\",\n          \"type\": \"L1.1\"\n        }\n      },\n      \"2StMdu8teW\": {\n        \"srcId\": \"DNWLMSNW98474-20190701T053536Z\",\n        \"source\": \"viz\",\n        \"region\": [\n          260\n        ],\n        \"versions\": [\n          {\n            \"direction\": -1,\n            \"inserted\": \"2019-07-01T05:40:15.075Z\",\n            \"srcId\": \"DNWLMS-NW-98474-2019-07-01T05:35:36Z\",\n            \"hashId\": \"erRyNjjI97\",\n            \"published\": \"2019-07-01T05:35:36.000Z\",\n            \"pubStr\": \"Jul 1, 2019, 7:35 AM - 8:02 AM Uhr\",\n            \"text\": {\n              \"road\": \"A42\",\n              \"segment\": \"Dortmund - Kamp-Lintfort\",\n              \"section\": \"zwischen Herne-Baukau (22) und Kreuz Herne (21)\",\n              \"events\": \"1 km Stau\"\n            },\n            \"points\": [\n              \n            ],\n            \"coords\": [\n              \n            ],\n            \"events\": [\n              \n            ]\n          }\n        ],\n        \"status\": \"expired\",\n        \"published\": \"2019-07-01T05:35:36.000Z\",\n        \"updated\": \"2019-07-01T05:40:15.075Z\",\n        \"expires\": \"2019-07-01T06:02:15.721Z\",\n        \"pubStr\": \"Jul 1, 2019, 7:35 AM - 8:02 AM Uhr\",\n        \"road\": {\n          \"roadId\": 7105,\n          \"road\": \"A42\",\n          \"roadName\": \"\",\n          \"type\": \"L1.1\"\n        }\n      },\n      \"5y4Gtm0ArQ\": {\n        \"srcId\": \"DNWLMSNW98487-20190701T054831Z\",\n        \"source\": \"viz\",\n        \"region\": [\n          260\n        ],\n        \"versions\": [\n          {\n            \"direction\": -1,\n            \"inserted\": \"2019-07-01T05:55:10.122Z\",\n            \"srcId\": \"DNWLMS-NW-98487-2019-07-01T05:48:31Z\",\n            \"hashId\": \"jEHt8TRXNf\",\n            \"published\": \"2019-07-01T05:48:31.000Z\",\n            \"pubStr\": \"Jul 1, 2019, 7:48 AM - 8:27 AM Uhr\",\n            \"text\": {\n              \"road\": \"A42\",\n              \"segment\": \"Dortmund - Kamp-Lintfort\",\n              \"section\": \"zwischen Kreuz Duisburg-Nord (6) und Duisburg-Beeck (5)\",\n              \"events\": \"Stau\"\n            },\n            \"points\": [\n              \n            ],\n            \"coords\": [\n              \n            ],\n            \"events\": [\n              \n            ]\n          }\n        ],\n        \"status\": \"expired\",\n        \"published\": \"2019-07-01T05:48:31.000Z\",\n        \"updated\": \"2019-07-01T05:55:10.122Z\",\n        \"expires\": \"2019-07-01T06:27:17.335Z\",\n        \"pubStr\": \"Jul 1, 2019, 7:48 AM - 8:27 AM Uhr\",\n        \"road\": {\n          \"roadId\": 7105,\n          \"road\": \"A42\",\n          \"roadName\": \"\",\n          \"type\": \"L1.1\"\n        }\n      },\n      \"CkjzMTbFFP\": {\n        \"srcId\": \"DNWLMSNW98502-20190701T055834Z\",\n        \"source\": \"viz\",\n        \"region\": [\n          260\n        ],\n        \"versions\": [\n          {\n            \"direction\": -1,\n            \"inserted\": \"2019-07-01T06:05:08.887Z\",\n            \"srcId\": \"DNWLMS-NW-98502-2019-07-01T05:58:34Z\",\n            \"hashId\": \"czR7OiZjgQ\",\n            \"published\": \"2019-07-01T05:58:34.000Z\",\n            \"pubStr\": \"Jul 1, 2019, 7:58 AM - 8:47 AM Uhr\",\n            \"text\": {\n              \"road\": \"A42\",\n              \"segment\": \"Dortmund - Kamp-Lintfort\",\n              \"section\": \"zwischen Herne-Wanne (19) und Gelsenkirchen-Bismarck (18)\",\n              \"events\": \"Gefahr durch ungesicherte Unfallstelle, linker Fahrstreifen blockiert\"\n            },\n            \"points\": [\n              \n            ],\n            \"coords\": [\n              \n            ],\n            \"events\": [\n              \n            ]\n          }\n        ],\n        \"status\": \"expired\",\n        \"published\": \"2019-07-01T05:58:34.000Z\",\n        \"updated\": \"2019-07-01T06:35:08.733Z\",\n        \"expires\": \"2019-07-01T06:47:36.000Z\",\n        \"pubStr\": \"Jul 1, 2019, 7:58 AM - 8:47 AM Uhr\",\n        \"road\": {\n          \"roadId\": 7105,\n          \"road\": \"A42\",\n          \"roadName\": \"\",\n          \"type\": \"L1.1\"\n        }\n      }\n    }\n  }\n}"}],"_postman_id":"cbf69765-d66d-412a-bd7c-55b1e7633d72"},{"name":"Request Message Details","id":"d102d692-4c4b-4d7c-be6d-1ec23fa15718","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.stau1.de/messages/search?apikey=mbnKf6hhPsSMAGvLBKUIlosDmE&msgid=XPLYv9Q8Fr&locpoints=1&history=1&eventcodes=1","description":"<p>This endpoint returns all details of a single traffic incident specified in the <strong>msgid</strong> parameter. Individual message IDs can be obtained by performing a <a href=\"#cbf69765-d66d-412a-bd7c-55b1e7633d72\">Search Historic Traffic Data</a> API request first. They are represented by the unique key of each item in the returned <a href=\"#3ece002a-2809-420a-ba2f-69ab0af1a861\">Messages Object</a>.   </p>\n<p>The response format of the <a href=\"#d102d692-4c4b-4d7c-be6d-1ec23fa15718\">Request Message Details</a> GET request is identical with that of the <a href=\"#cbf69765-d66d-412a-bd7c-55b1e7633d72\">Search Historic Traffic Data</a> API request and therfore also represented by the <a href=\"#3ece002a-2809-420a-ba2f-69ab0af1a861\">Messages Object</a>.</p>\n","urlObject":{"protocol":"https","path":["messages","search"],"host":["api","stau1","de"],"query":[{"description":{"content":"<p>[required] Please replace with your own API key that is assigned to your Stau1 account.</p>\n","type":"text/plain"},"key":"apikey","value":"mbnKf6hhPsSMAGvLBKUIlosDmE"},{"description":{"content":"<p>[required] The unique Id of the traffic incident for which details are requested.</p>\n","type":"text/plain"},"key":"msgid","value":"XPLYv9Q8Fr"},{"description":{"content":"<p>[optional] If set to 1, the <code>versions[]</code> object of the API response includes an array of affected <a href=\"#ca725936-df97-40dd-b624-b6514756006b\">Road Location Points</a> in <code>messages[key]</code>.<code>versions[]</code>.<code>points[]</code>.</p>\n","type":"text/plain"},"key":"locpoints","value":"1"},{"description":{"content":"<p>[optional] If set to 1, the <code>versions[]</code> array not only contains the earliest version of a message but includes all versions sorted by their publishing date.</p>\n","type":"text/plain"},"key":"history","value":"1"},{"description":{"content":"<p>[optional] If set to 1 each message version in the <code>versions[]</code> array of the API response contains an <code>events</code> array which is encoding the traffic event in a standardized format as described in the <a href=\"#f8308e55-31dd-4db1-8ba1-c326d0dd636e\">Traffic Event API</a> documentation.</p>\n","type":"text/plain"},"key":"eventcodes","value":"1"}],"variable":[]}},"response":[{"id":"8f182b2d-7385-4b4d-802b-a8da67b0a8c4","name":"Request Message Details Example","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.stau1.de/messages/search?apikey=mbnKf6hhPsSMAGvLBKUIlosDmE&msgid=XPLYv9Q8Fr&locpoints=1&history=1&eventcodes=1","protocol":"https","host":["api","stau1","de"],"path":["messages","search"],"query":[{"key":"apikey","value":"mbnKf6hhPsSMAGvLBKUIlosDmE","description":"[required] Please replace with your own API key that is assigned to your Stau1 account."},{"key":"msgid","value":"XPLYv9Q8Fr","description":"[required] The unique Id of the traffic incident for which details are requested."},{"key":"locpoints","value":"1","description":"[optional] If set to 1, the `versions[]` object of the API response includes an array of affected [Road Location Points](#ca725936-df97-40dd-b624-b6514756006b) in `messages[key]`.`versions[]`.`points[]`."},{"key":"history","value":"1","description":"[optional] If set to 1, the `messages[key]`.`versions[]` array not only contains the earliest version of a message but includes all versions sorted by their publishing date."},{"key":"eventcodes","value":"1","description":"[optional] If set to **1** the each message version in the `versions[]` array of the API response contains an `events` array which is encoding the traffic event in a standardized format as described in the [Traffic Event API](#f8308e55-31dd-4db1-8ba1-c326d0dd636e) documentation."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 02 Jan 2020 00:16:37 GMT"},{"key":"Server","value":"Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips"},{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1688"},{"key":"ETag","value":"W/\"698-3+STLVqcpucR7fmY9NQ4kabE/GY\""},{"key":"X-FRAME-OPTIONS","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"success\",\n  \"result\": {\n    \"params\": {\n      \"start\": null,\n      \"end\": null,\n      \"roads\": [\n        \n      ],\n      \"roadIds\": [\n        \n      ],\n      \"regions\": [\n        \n      ],\n      \"flexGeo\": 0,\n      \"age\": 24,\n      \"msgId\": \"XPLYv9Q8Fr\",\n      \"history\": 1,\n      \"locPoints\": 1,\n      \"eventCodes\": 1,\n      \"page\": 1,\n      \"amtpp\": 20\n    },\n    \"stats\": {\n      \"total\": 1,\n      \"pages\": 1,\n      \"version\": 1578013505649,\n      \"page\": 1,\n      \"sections\": [\n        \n      ],\n      \"regions\": [\n        260\n      ],\n      \"amt\": 1,\n      \"rect\": [\n        [\n          52.44035,\n          7.250629713615012\n        ],\n        [\n          50.33895,\n          9.4346\n        ]\n      ],\n      \"cacheId\": \"97c4c1971ba6e644fe2728c8611be9bd0c67083a\"\n    },\n    \"messages\": {\n      \"XPLYv9Q8Fr\": {\n        \"srcId\": \"DNWLMSNW66082-20190404T060047Z\",\n        \"source\": \"viz\",\n        \"region\": [\n          260\n        ],\n        \"versions\": [\n          {\n            \"direction\": 0,\n            \"inserted\": \"2019-04-04T06:05:11.008Z\",\n            \"srcId\": \"DNWLMS-NW-66082-2019-04-04T06:00:47Z\",\n            \"hashId\": \"HhJWPEd3Ba\",\n            \"published\": \"2019-04-04T06:00:47.000Z\",\n            \"pubStr\": \"seit Apr 4, 2019, 08:00 Uhr\",\n            \"text\": {\n              \"road\": \"A1\",\n              \"segment\": \"Dortmund - Köln\",\n              \"section\": \"Leverkusener Brücke in beiden Richtungen\",\n              \"events\": \"gesperrt für Schwerverkehr über 3,5 t mit einer Breite über 2,30 m, bis 31.12.2020 Mitternacht\"\n            },\n            \"points\": [\n              {\n                \"locId\": 50060.077,\n                \"srcLocId\": 39273,\n                \"type\": \"P3.2\",\n                \"road\": \"A1\",\n                \"name\": \"Leverkusener Brücke\",\n                \"roadName\": \"Kölner Ring\",\n                \"locSection\": 39797,\n                \"locPrev\": 10058,\n                \"locNext\": 10059,\n                \"locLeap\": 0,\n                \"locIntersection\": [\n                  \n                ],\n                \"existsPos\": 1,\n                \"existsNeg\": 1,\n                \"exitNumber\": \"0\",\n                \"geoCoords\": [\n                  6.9607,\n                  51.03405\n                ]\n              }\n            ],\n            \"coords\": [\n              \n            ],\n            \"events\": [\n              {\n                \"id\": 403,\n                \"cat\": 9,\n                \"quantType\": \"WEI\",\n                \"quantValue\": 3.5,\n                \"src\": \"xml\"\n              }\n            ]\n          }\n        ],\n        \"status\": \"active\",\n        \"published\": \"2019-04-04T06:00:47.000Z\",\n        \"updated\": \"2019-12-18T21:25:06.228Z\",\n        \"expires\": \"2020-12-31T23:00:00.000Z\",\n        \"pubStr\": \"alt\",\n        \"road\": {\n          \"roadId\": 50060,\n          \"road\": \"A1\",\n          \"roadName\": \"\",\n          \"type\": \"L1.1\"\n        }\n      }\n    }\n  }\n}"}],"_postman_id":"d102d692-4c4b-4d7c-be6d-1ec23fa15718"}],"id":"a728b657-ebdc-4b11-86d4-058c19016da5","description":"<p>Stau1's Traffic Data Archive Search API allows retrieving historic traffic information reported for highways (Autobahnen) and other local roads types (Bundesstraßen, Landstraßen) in Germany. The data pool consists of incident-based traffic events as reported and electronically transmitted to our database by local state goverments agencies and the police.<br />In order for a traffic incident to become available on the Traffic Archive API its publishing date must be at least 12 hours old.</p>\n","event":[{"listen":"prerequest","script":{"id":"7e40545b-0665-4c75-86f3-c6257cb49ae9","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"72d16885-5a19-4577-a08f-e1fd2117c36a","type":"text/javascript","exec":[""]}}],"_postman_id":"a728b657-ebdc-4b11-86d4-058c19016da5"},{"name":"Road Data API","item":[{"name":"Search Road Data","id":"69651e65-f503-43fe-9241-debfbcea7665","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.stau1.de/roads/search?apikey=mbnKf6hhPsSMAGvLBKUIlosDmE&roads=A3|50101.23|50101.234|-1&roadids=50101|50101.23|50101.234|-1&roadtypes=1,2&regions=260&near=6.9591,50.9410&radius=10&locsegments=1&locpoints=1&page=1&amtpp=10","description":"<p>This endpoint returns an arry of <a href=\"#e0ce43dd-236c-46de-b87d-d7fe91a32092\">Road Objects</a> based on selected roads, road segments, regions or a combination of all of those. The following parameters can be used to modify the request:</p>\n","urlObject":{"protocol":"https","path":["roads","search"],"host":["api","stau1","de"],"query":[{"description":{"content":"<p>[required] Please replace with your own API key that is assigned to your Stau1 account.</p>\n","type":"text/plain"},"key":"apikey","value":"mbnKf6hhPsSMAGvLBKUIlosDmE"},{"description":{"content":"<p>[optional] Limits the search to a single or a comma separated list of road name(s) or even sub-sections of roads. In this example road data is only obtained for Highway (Autobahn) A3 between and including Road Location Points <em>50101.23</em> (=Kreuz Kaiserberg) and <em>50101.234</em> (=Kreuz Oberhausen) .</p>\n<p><strong>Format:</strong> <em>roadName</em>[|<em>locPoint1</em>|<em>locPoint2</em>|<em>direction</em>]  </p>\n<ul>\n<li><em>roadName</em>: e.g. <em>A1</em>, <em>B8</em> or <em>L145</em></li>\n</ul>\n<p>Optional (if one of the following is set the remaining two need to be set as well):</p>\n<ul>\n<li><em>locPoint1</em>:  The Road Location Id of <em>roadName</em> defining the start of the section of the road for which road data should be obtained.</li>\n<li><em>locPoint2</em>: The Road Location Id of <em>roadName</em> defining the end of the section of the road for which road data should be obtained.</li>\n<li><em>direction</em>: 0 = road data is obtained for both driving directions; 1 = only obtain road data for the road's positive driving direction; -1 = only obtain road data for the road's negative driving direction.</li>\n</ul>\n","type":"text/plain"},"key":"roads","value":"A3|50101.23|50101.234|-1"},{"description":{"content":"<p>[optional] <strong>roadids</strong> is identical with the <strong>roads</strong> parameter with the only difference that roads are identified by their <code>roadId</code> instead of their name. See <a href>Road Object Documentation</a> for details.<br />In this example the <code>roadId</code> <em>50101</em> represents Autobahn A3.<br />Parameters <strong>roadids</strong> and <strong>roads</strong> cannot be used in combination.</p>\n","type":"text/plain"},"key":"roadids","value":"50101|50101.23|50101.234|-1"},{"description":{"content":"<p>[optional] When used limits the search to one single or a comma separated list of road types:   </p>\n<ul>\n<li><em>1</em> = Highways/Motorways (=Bundesautobahnen, e.g. <em>A3</em>)</li>\n<li><em>2</em> = State Roads (=Bundesstraßen, e.g. <em>B8</em>)</li>\n<li><em>3</em> = Country Roads (=Landstraßen, e.g. <em>L145</em>)</li>\n<li><em>4</em> = Other local roads</li>\n</ul>\n","type":"text/plain"},"key":"roadtypes","value":"1,2"},{"description":{"content":"<p>[optional] Limits the search to roads located in a single or a comma separated list of regions. Each region ID represents a German state. In order to include all states in the research result simply remove this parameter entirely from your query.<br />Please refer to the <a href=\"#4dc3f6dc-9443-4153-86ab-76ee13a953ed\">Region Code Documentation</a> to see which region ID is matching which state.</p>\n","type":"text/plain"},"key":"regions","value":"260"},{"description":{"content":"<p>[optional] Limits the search to roads located within a radius of 25 kilometers around the geo location specified by the comma separated <em>longitude</em>,<em>latitude</em> values in this parameter. An additional <strong>radius</strong> parameter can be used to adjust the radius ranging from 1 to 100 kilometers.<br />The <strong>near</strong> parameter cannot be used in conjunction with <strong>regions</strong>.</p>\n","type":"text/plain"},"key":"near","value":"6.9591,50.9410"},{"description":{"content":"<p>[optional] Only valid in conjunction with <strong>near</strong> parameter. Values can range from 1 to 100, default value is 25. The radius is measured in kilometers.</p>\n","type":"text/plain"},"key":"radius","value":"10"},{"description":{"content":"<p>[optional] If set to 1, the result set includes the IDs and names of the affected road segments for each road in <code>roads[]</code>.<code>segments[]</code>.  Road Segments  (e.g. 'A3 Köin Richtung Oberhausen') are a higher-order category spanning over multiple Road Location Points (e.g. Highway exits).</p>\n","type":"text/plain"},"key":"locsegments","value":"1"},{"description":{"content":"<p>[optional] If set to 1, the <code>roads</code> object of the API response includes an array of affected <a href=\"#ca725936-df97-40dd-b624-b6514756006b\">Road Location Points</a> in <code>roads[]</code>.<code>points[]</code>.</p>\n","type":"text/plain"},"key":"locpoints","value":"1"},{"description":{"content":"<p>[optional] Default value is 1. All search results are paginated. The amount of result sets per page is determined by the <strong>amtpp</strong> parameter which defaults to 10. The API response provides information about the amount of available pages in <code>stats</code>.<code>pages</code>.</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>[optional] The amount of search results which are displayed per page / request. The default and maximum value is 10.</p>\n","type":"text/plain"},"key":"amtpp","value":"10"}],"variable":[]}},"response":[{"id":"df4a864d-932d-4a58-94ce-fe44e815db5d","name":"Search Road Data Example","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.stau1.de/roads/search?apikey=mbnKf6hhPsSMAGvLBKUIlosDmE&roads=A3|50101.23|50101.234|-1&locsegments=1&locpoints=1&page=1&amtpp=10","protocol":"https","host":["api","stau1","de"],"path":["roads","search"],"query":[{"key":"apikey","value":"mbnKf6hhPsSMAGvLBKUIlosDmE"},{"key":"roads","value":"A3|50101.23|50101.234|-1"},{"key":"roadids","value":"50101|50101.23|50101.234|-1","disabled":true},{"key":"locsegments","value":"1"},{"key":"locpoints","value":"1"},{"key":"page","value":"1"},{"key":"amtpp","value":"10"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 01 Dec 2019 20:28:29 GMT"},{"key":"Server","value":"Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips"},{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"2258"},{"key":"ETag","value":"W/\"8d2-v/R4ybM12X9qPNWoWzB5ktdEjNQ\""},{"key":"X-FRAME-OPTIONS","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"success\",\n  \"result\": {\n    \"params\": {\n      \"roads\": [\n        \"A3|50101.23|50101.234|-1\"\n      ],\n      \"roadIds\": [\n        \n      ],\n      \"locPoints\": 1,\n      \"locSegments\": 1,\n      \"page\": 1,\n      \"amtpp\": 10,\n      \"ldrReverse\": null,\n      \"selectedNearRoadId\": null\n    },\n    \"stats\": {\n      \"total\": 1,\n      \"pages\": 1,\n      \"page\": 1,\n      \"amt\": 1,\n      \"searchId\": \"a58Tw\"\n    },\n    \"roads\": [\n      {\n        \"roadId\": 50101,\n        \"type\": \"L1.1\",\n        \"road\": \"A3\",\n        \"n1\": \"Arnheim\",\n        \"n2\": \"Köln\",\n        \"points\": [\n          {\n            \"locState\": [\n              260\n            ],\n            \"locIntersection\": [\n              10928,\n              10447,\n              11654\n            ],\n            \"locId\": 50101.234,\n            \"srcLocId\": 10928,\n            \"type\": \"P1.1\",\n            \"name\": \"Kreuz Oberhausen\",\n            \"roadName\": \"\",\n            \"locCity\": 575,\n            \"locCityDistrict\": 0,\n            \"locCountry\": 1,\n            \"locSection\": 7080,\n            \"locPrev\": 10929,\n            \"locNext\": 10927,\n            \"locLeap\": 0,\n            \"existsPos\": 1,\n            \"existsNeg\": 1,\n            \"exitNumber\": \"10\",\n            \"geoCoords\": [\n              6.8343,\n              51.5373\n            ]\n          },\n          {\n            \"locState\": [\n              260\n            ],\n            \"locIntersection\": [\n              10927,\n              17510\n            ],\n            \"locId\": 50101.233,\n            \"srcLocId\": 10927,\n            \"type\": \"P1.3\",\n            \"name\": \"Oberhausen-Holten\",\n            \"roadName\": \"\",\n            \"locCity\": 575,\n            \"locCityDistrict\": 0,\n            \"locCountry\": 1,\n            \"locSection\": 7080,\n            \"locPrev\": 10928,\n            \"locNext\": 10926,\n            \"locLeap\": 0,\n            \"existsPos\": 1,\n            \"existsNeg\": 1,\n            \"exitNumber\": \"11\",\n            \"geoCoords\": [\n              6.81795,\n              51.51305\n            ]\n          },\n          {\n            \"locState\": [\n              260\n            ],\n            \"locIntersection\": [\n              11263,\n              10926\n            ],\n            \"locId\": 50101.232,\n            \"srcLocId\": 10926,\n            \"type\": \"P1.1\",\n            \"name\": \"Kreuz Oberhausen-West\",\n            \"roadName\": \"\",\n            \"locCity\": 391,\n            \"locCityDistrict\": 0,\n            \"locCountry\": 1,\n            \"locSection\": 39798,\n            \"locPrev\": 10927,\n            \"locNext\": 10925,\n            \"locLeap\": 0,\n            \"existsPos\": 1,\n            \"existsNeg\": 1,\n            \"exitNumber\": \"12\",\n            \"geoCoords\": [\n              6.8148,\n              51.4874\n            ]\n          },\n          {\n            \"locState\": [\n              260\n            ],\n            \"locIntersection\": [\n              \n            ],\n            \"locId\": 50101.231,\n            \"srcLocId\": 10925,\n            \"type\": \"P1.3\",\n            \"name\": \"Oberhausen-Lirich\",\n            \"roadName\": \"\",\n            \"locCity\": 575,\n            \"locCityDistrict\": 0,\n            \"locCountry\": 1,\n            \"locSection\": 39798,\n            \"locPrev\": 10926,\n            \"locNext\": 10924,\n            \"locLeap\": 0,\n            \"existsPos\": 1,\n            \"existsNeg\": 1,\n            \"exitNumber\": \"13\",\n            \"geoCoords\": [\n              6.8151,\n              51.47565\n            ]\n          },\n          {\n            \"locState\": [\n              260\n            ],\n            \"locIntersection\": [\n              10924,\n              11222\n            ],\n            \"locId\": 50101.23,\n            \"srcLocId\": 10924,\n            \"type\": \"P1.1\",\n            \"name\": \"Kreuz Kaiserberg\",\n            \"roadName\": \"\",\n            \"locCity\": 391,\n            \"locCityDistrict\": 0,\n            \"locCountry\": 1,\n            \"locSection\": 39798,\n            \"locPrev\": 10925,\n            \"locNext\": 10923,\n            \"locLeap\": 0,\n            \"existsPos\": 1,\n            \"existsNeg\": 1,\n            \"exitNumber\": \"14\",\n            \"geoCoords\": [\n              6.799,\n              51.44605\n            ]\n          }\n        ],\n        \"segments\": [\n          {\n            \"segmentId\": 7080,\n            \"roadName\": \"\",\n            \"n1\": \"Arnheim\",\n            \"n2\": \"Oberhausen\",\n            \"locPrev\": 0,\n            \"locNext\": 39798,\n            \"displayOrder\": 0\n          },\n          {\n            \"segmentId\": 39798,\n            \"roadName\": \"\",\n            \"n1\": \"Oberhausen\",\n            \"n2\": \"Köln\",\n            \"locPrev\": 7080,\n            \"locNext\": 7077,\n            \"displayOrder\": 1\n          }\n        ],\n        \"order\": 2,\n        \"regions\": [\n          260\n        ]\n      }\n    ]\n  }\n}"}],"_postman_id":"69651e65-f503-43fe-9241-debfbcea7665"}],"id":"d4907fa4-8741-45ff-ae51-9fa53ee041bf","description":"<p>The location of a traffic incident is - whenever possible - allocated to a specific road and road section. Since traffic data provided by the Stau1 API is based on a <a href=\"https://de.wikipedia.org/wiki/Traffic_Message_Channel\">TMC</a> derived data structure, information about the exact geo location of a traffic incident cannot be provided. Instead, the data that is provided to locate an incident is based on a defined list of <a href=\"#ca725936-df97-40dd-b624-b6514756006b\">Road Location Points</a> like road junctions, highway exits and similar way points. An incident is then approximately being located at, or between two or more Road Location Points. For Germany Road Location Points are regularily updated and published in the \"Location Code List\" (LCL) by the Bundesanstalt für Straßenwesen.<br />Because most traffic messages provided by the <a href=\"#a728b657-ebdc-4b11-86d4-058c19016da5\">Traffic Archive API</a> contain Road Location Points to help locating the message geographically, the Road Data API offers a supplementary source for selectively querying Road Location Data for a given road or region.</p>\n","event":[{"listen":"prerequest","script":{"id":"89a5fc02-dca6-4ad1-b45c-5eb9f5638299","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"9a108b06-88f5-489d-952d-57a820501ff0","type":"text/javascript","exec":[""]}}],"_postman_id":"d4907fa4-8741-45ff-ae51-9fa53ee041bf"},{"name":"Event Code API","item":[{"name":"Search Event Codes","id":"7e780e97-89c5-4474-b02f-ad7bef54619d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.stau1.de/eventcodes/search?apikey=mbnKf6hhPsSMAGvLBKUIlosDmE&ids=101&cats=1&types=5&page=1&amtpp=25","description":"<p>Depending on the parameters used this endpoint returns a single or a list of <a href=\"#fec817fd-809c-4c5a-93c5-a89fc1f05783\">Event Code Objects</a>.</p>\n","urlObject":{"protocol":"https","path":["eventcodes","search"],"host":["api","stau1","de"],"query":[{"description":{"content":"<p>[required] Please replace with your own API key that is assigned to your Stau1 account.</p>\n","type":"text/plain"},"key":"apikey","value":"mbnKf6hhPsSMAGvLBKUIlosDmE"},{"description":{"content":"<p>[optional] Limits the search to a single or a comma separated list of event IDs.</p>\n","type":"text/plain"},"key":"ids","value":"101"},{"description":{"content":"<p>[optional] Can be used together with the <strong>ids</strong> parameter to retrieve event information of one or multiple specific traffic events. In this example information about the traffic event \"Stau\" is retrieved. This event is encoded by an <em>id</em> value of 101 and a <em>cat</em> valie of 1.</p>\n","type":"text/plain"},"key":"cats","value":"1"},{"description":{"content":"<p>[optional] Limits the search to a single or comma separated list of event types. The following event types are available:</p>\n<ul>\n<li><em>1</em> = Dangerous Situation (Gefahr)</li>\n<li><em>2</em> = Traffic Accident (Unfall)</li>\n<li><em>3</em> = Road Closure (Sperrung)</li>\n<li><em>4</em> = Icy / splippery / unsafe road conditions (Glätte)</li>\n<li><em>5</em> = Traffic Congestion (Stau)</li>\n<li><em>6</em> = Increased Traffic (Staugefahr)</li>\n<li><em>7</em> = Partial Road Closue (Teilsperrung)</li>\n<li><em>8</em> = Road Work (Baustelle)</li>\n<li><em>9</em> = Informational Note (Information)</li>\n<li><em>10</em> = Cancellation Notice (Störungsaufhebung)</li>\n</ul>\n","type":"text/plain"},"key":"types","value":"5"},{"description":{"content":"<p>[optional] Default value is 1. The search result is paginated. The amount of result sets per page is determined by the <strong>amtpp</strong> parameter which defaults to 25. The API response provides information about the amount of available pages in the <code>stats</code>.<code>pages</code> property.</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>[optional] The amount of search results which are returned per page / request. The default and maximum value is 25.</p>\n","type":"text/plain"},"key":"amtpp","value":"25"}],"variable":[]}},"response":[{"id":"b5a73074-5a87-4f7b-94f8-73d196523cdc","name":"Search Event Codes Example","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.stau1.de/eventcodes/search?apikey=mbnKf6hhPsSMAGvLBKUIlosDmE&types=5","protocol":"https","host":["api","stau1","de"],"path":["eventcodes","search"],"query":[{"key":"apikey","value":"mbnKf6hhPsSMAGvLBKUIlosDmE","description":"[required] Please replace with your own API key that is assigned to your Stau1 account."},{"key":"types","value":"5","description":"[optional] Limits the search to a single or comma separated list of event types. The following event types are available:\n* *1* = Dangerous Situation (Gefahr)\n* *2* = Traffic Accident (Unfall)\n* *3* = Road Closure (Sperrung)\n* *4* = Icy / splippery / unsafe road conditions (Glätte)\n* *5* = Traffic Congestion (Stau)\n* *6* = Increased Traffic (Staugefahr)\n* *7* = Partial Road Closue (Teilsperrung)\n* *8* = Road Work (Baustelle)\n* *9* = Informational Note (Information)\n* *10* = Cancellation Notice (Störungsaufhebung)\n"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 02 Jan 2020 22:27:09 GMT"},{"key":"Server","value":"Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips"},{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"239"},{"key":"ETag","value":"W/\"ef-4DvxuEq3HUY+N2HPnj5n/gikDSk\""},{"key":"X-FRAME-OPTIONS","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"success\",\n  \"result\": {\n    \"params\": {\n      \"types\": [\n        5\n      ],\n      \"page\": 1,\n      \"amtpp\": 25\n    },\n    \"stats\": {\n      \"amt\": 11,\n      \"page\": 1,\n      \"pages\": 1,\n      \"total\": 11\n    },\n    \"eventCodeList\": [\n      {\n        \"id\": 101,\n        \"subcode\": [\n          {\n            \"cat\": 1,\n            \"text\": {\n              \"de\": [\n                \"Stau\"\n              ]\n            },\n            \"type\": 5,\n            \"exp\": false\n          }\n        ]\n      },\n      {\n        \"id\": 102,\n        \"subcode\": [\n          {\n            \"cat\": 1,\n            \"text\": {\n              \"de\": [\n                \"Stau\"\n              ]\n            },\n            \"type\": 5,\n            \"exp\": false\n          }\n        ]\n      },\n      {\n        \"id\": 103,\n        \"subcode\": [\n          {\n            \"cat\": 1,\n            \"text\": {\n              \"de\": [\n                \"Stau\"\n              ]\n            },\n            \"type\": 5,\n            \"exp\": false\n          }\n        ]\n      },\n      {\n        \"id\": 104,\n        \"subcode\": [\n          {\n            \"cat\": 1,\n            \"text\": {\n              \"de\": [\n                \"Stau\"\n              ]\n            },\n            \"type\": 5,\n            \"exp\": false\n          }\n        ]\n      },\n      {\n        \"id\": 105,\n        \"subcode\": [\n          {\n            \"cat\": 1,\n            \"text\": {\n              \"de\": [\n                \"Stau\"\n              ]\n            },\n            \"type\": 5,\n            \"exp\": false\n          }\n        ]\n      },\n      {\n        \"id\": 106,\n        \"subcode\": [\n          {\n            \"cat\": 1,\n            \"text\": {\n              \"de\": [\n                \"Stau\"\n              ]\n            },\n            \"type\": 5,\n            \"exp\": false\n          }\n        ]\n      },\n      {\n        \"id\": 120,\n        \"subcode\": [\n          {\n            \"cat\": 1,\n            \"text\": {\n              \"de\": [\n                \"dichter Verkehr\"\n              ]\n            },\n            \"type\": 5,\n            \"exp\": false\n          }\n        ]\n      },\n      {\n        \"id\": 129,\n        \"subcode\": [\n          {\n            \"cat\": 1,\n            \"text\": {\n              \"de\": [\n                \"Stau\"\n              ]\n            },\n            \"type\": 5,\n            \"exp\": false\n          }\n        ]\n      },\n      {\n        \"id\": 133,\n        \"subcode\": [\n          {\n            \"cat\": 1,\n            \"text\": {\n              \"de\": [\n                \"lange Staus\"\n              ]\n            },\n            \"type\": 5,\n            \"exp\": false\n          }\n        ]\n      },\n      {\n        \"id\": 245,\n        \"subcode\": [\n          {\n            \"cat\": 50,\n            \"text\": {\n              \"de\": [\n                \"Staulänge zunehmend\"\n              ]\n            },\n            \"type\": 5,\n            \"exp\": false\n          }\n        ]\n      },\n      {\n        \"id\": 1625,\n        \"subcode\": [\n          {\n            \"cat\": 20,\n            \"text\": {\n              \"de\": [\n                \"Zeitverlust von bis zu 40 Minuten\"\n              ]\n            },\n            \"type\": 5,\n            \"exp\": false\n          }\n        ]\n      }\n    ]\n  }\n}"}],"_postman_id":"7e780e97-89c5-4474-b02f-ad7bef54619d"}],"id":"f8308e55-31dd-4db1-8ba1-c326d0dd636e","description":"<p>Traffic event information for a given traffic incident is returned by the <a href=\"#a728b657-ebdc-4b11-86d4-058c19016da5\">Traffic Archive API</a> in the <code>messages[key]</code>.<code>versions[]</code>.<code>events[]</code> array of the <a href=\"#3ece002a-2809-420a-ba2f-69ab0af1a861\">Messages Object</a>. There, a single traffic event is encoded by an <code>events[]</code>.<code>id</code> in combination with a <code>events[]</code>.<code>cat</code> value. A given traffic event can only be uniquely identified by those two pieces of information.<br />The <strong>Event Code API</strong> helps matching traffic incident information provided by the Traffic Event Code API with corresponding text strings. </p>\n","event":[{"listen":"prerequest","script":{"id":"e6f706fa-0355-4955-a99f-885667b51a42","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"e2687ba5-01e4-4472-8d98-8086504cfcad","type":"text/javascript","exec":[""]}}],"_postman_id":"f8308e55-31dd-4db1-8ba1-c326d0dd636e"},{"name":"Region Codes","item":[],"id":"4dc3f6dc-9443-4153-86ab-76ee13a953ed","description":"<p>Inside of the Stau1 database individual States in Germany (=Bundesländer) are represented by a set of Region IDs which allows filtering traffic and road data by State. Region Data is not provided via an API endpoint. Instead please reference the following list for encoding and decoding different regions:   </p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Region ID</th>\n<th>Region Name</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>256</td>\n<td>Schleswig-Holstein</td>\n</tr>\n<tr>\n<td>257</td>\n<td>Hamburg</td>\n</tr>\n<tr>\n<td>258</td>\n<td>Niedersachsen</td>\n</tr>\n<tr>\n<td>259</td>\n<td>Bremen</td>\n</tr>\n<tr>\n<td>260</td>\n<td>Nordrhein-Westfalen</td>\n</tr>\n<tr>\n<td>261</td>\n<td>Hessen</td>\n</tr>\n<tr>\n<td>262</td>\n<td>Rheinland-Pfalz</td>\n</tr>\n<tr>\n<td>263</td>\n<td>Baden-Württemberg</td>\n</tr>\n<tr>\n<td>264</td>\n<td>Bayern</td>\n</tr>\n<tr>\n<td>265</td>\n<td>Saarland</td>\n</tr>\n<tr>\n<td>266</td>\n<td>Berlin</td>\n</tr>\n<tr>\n<td>267</td>\n<td>Brandenburg</td>\n</tr>\n<tr>\n<td>268</td>\n<td>Mecklenburg-Vorpommern</td>\n</tr>\n<tr>\n<td>269</td>\n<td>Sachsen</td>\n</tr>\n<tr>\n<td>270</td>\n<td>Sachsen-Anhalt</td>\n</tr>\n<tr>\n<td>271</td>\n<td>Thüringen</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"id":"19f4a687-1725-4d26-82eb-b6b5c9fe7f28","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"13fdd62c-f954-4af4-8955-2ca6dc559824","type":"text/javascript","exec":[""]}}],"_postman_id":"4dc3f6dc-9443-4153-86ab-76ee13a953ed"},{"name":"API Response Objects","item":[{"name":"Messages Object","item":[{"name":"Messages Object Sample","id":"ec2d2d70-87d4-4764-b7da-1cc530895ec2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.stau1.de/messages/search?start=201907010700&end=201907010800&roads=A3&locpoints=1&history=1&eventcodes=1&amtpp=2&apikey=mbnKf6hhPsSMAGvLBKUIlosDmE","urlObject":{"protocol":"https","path":["messages","search"],"host":["api","stau1","de"],"query":[{"description":{"content":"<p>Search for all incidents that were present between July 1, 2019 7AM and...</p>\n","type":"text/plain"},"key":"start","value":"201907010700"},{"description":{"content":"<p>... July 1, 2019 8AM</p>\n","type":"text/plain"},"key":"end","value":"201907010800"},{"description":{"content":"<p>Limit search to Autobahn A3.</p>\n","type":"text/plain"},"key":"roads","value":"A3"},{"disabled":true,"description":{"content":"<p>[optional] <strong>roadids</strong> is identical with the <strong>roads</strong> parameter with the only difference that roads are identified by their <code>roadId</code> instead of their name. See <a href=\"#d4907fa4-8741-45ff-ae51-9fa53ee041bf\">Road Data API Documentation</a> for details.<br />In this example the <code>roadId</code> <em>50101</em> represents Autobahn A3 whereas <em>7105</em> is Autobahn A42.<br />Parameters <strong>roadids</strong> and <strong>roads</strong> cannot be used in combination.</p>\n","type":"text/plain"},"key":"roadids","value":"50101|50101.23|50101.234|-1,7105"},{"disabled":true,"description":{"content":"<p>[optional] When used limits the search to one single or comma separated list of road types:   </p>\n<ul>\n<li><em>1</em> = Highways/Motorways (=Bundesautobahnen, e.g. <em>A3</em>)</li>\n<li><em>2</em> = State Roads (=Bundesstraßen, e.g. <em>B8</em>)</li>\n<li><em>3</em> = Country Roads (=Landstraßen, e.g. <em>L145</em>)</li>\n<li><em>4</em> = Other local roads</li>\n</ul>\n","type":"text/plain"},"key":"roadtypes","value":"1,2"},{"disabled":true,"description":{"content":"<p>[optional] Limits the search to traffic incidents located in a single or a comma separated list of regions. Each region ID represents a German state. In order to include all states in the research result simply remove this parameter from your query.<br />Please refer to the <a href=\"#4dc3f6dc-9443-4153-86ab-76ee13a953ed\">Region Code Documentation</a> to see which region ID is matching which state.</p>\n","type":"text/plain"},"key":"regions","value":"260,261"},{"disabled":true,"description":{"content":"<p>[optional] Limits the search to incidents located within a radius of 25 kilometers around the geo location defined by <em>longitude</em>,<em>latitude</em> values in this parameter. An additional <strong>radius</strong> parameter can be used to adjust the radius ranging from 1 to 100 kilometers.<br />The <strong>near</strong> parameter cannot be used in conjunction with <strong>regions</strong>.</p>\n","type":"text/plain"},"key":"near","value":"6.9591,50.9410"},{"disabled":true,"description":{"content":"<p>[optional] Only valid in conjunction with <strong>near</strong> parameter. Values can range from 1 to 100, default value is 25. The radius is measured in kilometers.</p>\n","type":"text/plain"},"key":"radius","value":"10"},{"description":{"content":"<p>Search result should contain Road Location Points for each message.</p>\n","type":"text/plain"},"key":"locpoints","value":"1"},{"description":{"content":"<p>Request all available versions for each message.</p>\n","type":"text/plain"},"key":"history","value":"1"},{"description":{"content":"<p>Request a detailed event list for each message version.</p>\n","type":"text/plain"},"key":"eventcodes","value":"1"},{"disabled":true,"key":"page","value":"1"},{"description":{"content":"<p><em>Amount per page</em>, Limits search to two messages.</p>\n","type":"text/plain"},"key":"amtpp","value":"2"},{"key":"apikey","value":"mbnKf6hhPsSMAGvLBKUIlosDmE"}],"variable":[]}},"response":[{"id":"df184e74-2883-4bd8-b137-1468f6326f7d","name":"Messages Object Sample Request","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.stau1.de/messages/search?start=201907010700&end=201907010800&locpoints=1&history=1&eventcodes=1&page=1&amtpp=2&apikey=mbnKf6hhPsSMAGvLBKUIlosDmE&roads=A42","protocol":"https","host":["api","stau1","de"],"path":["messages","search"],"query":[{"key":"start","value":"201907010700","description":"[required] In combination with the **end** param, sets the time period of the search request. The selected time period must not exceed 24 hours. Date \nTime Format is *YYYYMMDDhhmm*.\n\n"},{"key":"end","value":"201907010800","description":"[required] In combination with the **start** param, sets the time period of the search request. The selected time period must not exceed 24 hours. Date \nTime Format is *YYYYMMDDhhmm*.\nThe selected time period in this example ranges from *July 1, 2019 7:00AM to 8:00AM*."},{"key":"roadids","value":"50101|50101.23|50101.234|-1,7105","description":"[optional] **roadids** is identical with the **roads** parameter with the only difference that roads are identified by their `roadId` instead of their name. See [Road Data API Documentation](#d4907fa4-8741-45ff-ae51-9fa53ee041bf) for details.   \nIn this example the `roadId` *50101* represents Autobahn A3 whereas *7105* is Autobahn A42.   \nParameters **roadids** and **roads** cannot be used in combination.","disabled":true},{"key":"roadtypes","value":"1,2","description":"[optional] When used limits the search to one single or comma separated list of road types:   \n* *1* = Highways/Motorways (=Bundesautobahnen, e.g. *A3*)\n* *2* = State Roads (=Bundesstraßen, e.g. *B8*)\n* *3* = Country Roads (=Landstraßen, e.g. *L145*)\n* *4* = Other local roads\n","disabled":true},{"key":"regions","value":"260,261","description":"[optional] Limits the search to traffic incidents located in a single or a comma separated list of regions. Each region ID represents a German state. In order to include all states in the research result simply remove this parameter from your query.   \nPlease refer to the [Region Code Documentation](#4dc3f6dc-9443-4153-86ab-76ee13a953ed) to see which region ID is matching which state.","disabled":true},{"key":"near","value":"6.9591,50.9410","description":"[optional] Limits the search to incidents located within a radius of 25 kilometers around the geo location defined by *longitude*,*latitude* values in this parameter. An additional **radius** parameter can be used to adjust the radius ranging from 1 to 100 kilometers.  \nThe **near** parameter cannot be used in conjunction with **regions**.\n","disabled":true},{"key":"radius","value":"10","description":"[optional] Only valid in conjunction with **near** parameter. Values can range from 1 to 100, default value is 25. The radius is measured in kilometers.\n","disabled":true},{"key":"locpoints","value":"1"},{"key":"history","value":"1"},{"key":"eventcodes","value":"1"},{"key":"page","value":"1"},{"key":"amtpp","value":"2"},{"key":"apikey","value":"mbnKf6hhPsSMAGvLBKUIlosDmE"},{"key":"roads","value":"A42"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 29 Nov 2019 23:58:04 GMT"},{"key":"Server","value":"Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips"},{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"45518"},{"key":"ETag","value":"W/\"b1ce-otGMlZC7yJj5L2zrpu+E/XB3M7U\""},{"key":"X-FRAME-OPTIONS","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"success\",\n  \"result\": {\n    \"params\": {\n      \"start\": \"201907010700\",\n      \"end\": \"201907010800\",\n      \"roads\": [\n        \"A42\"\n      ],\n      \"roadIds\": [\n        \n      ],\n      \"regions\": [\n        \n      ],\n      \"flexGeo\": 0,\n      \"age\": 24,\n      \"history\": 1,\n      \"locPoints\": 1,\n      \"eventCodes\": 1,\n      \"page\": 1,\n      \"amtpp\": 2\n    },\n    \"stats\": {\n      \"total\": 9,\n      \"pages\": 5,\n      \"version\": 1578015304878,\n      \"page\": 1,\n      \"sections\": [\n        \n      ],\n      \"regions\": [\n        260\n      ],\n      \"amt\": 2,\n      \"rect\": [\n        [\n          52.44035,\n          7.250629713615012\n        ],\n        [\n          50.33895,\n          9.4346\n        ]\n      ],\n      \"cacheId\": \"2cb73d1c83d220e7cf77633fe4850e6ba03ae839\"\n    },\n    \"messages\": {\n      \"RudSOH73bE\": {\n        \"srcId\": \"DNWLMSNW98412-20190701T045108Z\",\n        \"source\": \"viz\",\n        \"region\": [\n          260\n        ],\n        \"versions\": [\n          {\n            \"direction\": -1,\n            \"inserted\": \"2019-07-01T05:00:11.559Z\",\n            \"srcId\": \"DNWLMS-NW-98412-2019-07-01T04:51:08Z\",\n            \"hashId\": \"ebFIJb1OJM\",\n            \"published\": \"2019-07-01T04:51:08.000Z\",\n            \"pubStr\": \"Jul 1, 2019, 6:51 AM - 7:12 AM Uhr\",\n            \"text\": {\n              \"road\": \"A42\",\n              \"segment\": \"Dortmund - Kamp-Lintfort\",\n              \"section\": \"zwischen Gelsenkirchen-Schalke (17) und Gelsenkirchen-Zentrum (16)\",\n              \"events\": \"2 km Stau\"\n            },\n            \"points\": [\n              {\n                \"locId\": 7105.017,\n                \"srcLocId\": 40000,\n                \"type\": \"P1.3\",\n                \"road\": \"A42\",\n                \"name\": \"Gelsenkirchen-Schalke\",\n                \"roadName\": \"\",\n                \"locSection\": 7105,\n                \"locPrev\": 11273,\n                \"locNext\": 11271,\n                \"locLeap\": 0,\n                \"locIntersection\": [\n                  47758,\n                  47754,\n                  40000\n                ],\n                \"existsPos\": 1,\n                \"existsNeg\": 1,\n                \"exitNumber\": \"17\",\n                \"geoCoords\": [\n                  7.09525,\n                  51.5343\n                ]\n              },\n              {\n                \"locId\": 7105.016,\n                \"srcLocId\": 11271,\n                \"type\": \"P1.3\",\n                \"road\": \"A42\",\n                \"name\": \"Gelsenkirchen-Zentrum\",\n                \"roadName\": \"\",\n                \"locSection\": 7105,\n                \"locPrev\": 40000,\n                \"locNext\": 11270,\n                \"locLeap\": 0,\n                \"locIntersection\": [\n                  11271,\n                  39463\n                ],\n                \"existsPos\": 1,\n                \"existsNeg\": 1,\n                \"exitNumber\": \"16\",\n                \"geoCoords\": [\n                  7.07185,\n                  51.52275\n                ]\n              }\n            ],\n            \"coords\": [\n              \n            ],\n            \"events\": [\n              {\n                \"id\": 103,\n                \"cat\": 1,\n                \"quantType\": \"LEN\",\n                \"quantValue\": 2,\n                \"src\": \"xml\"\n              }\n            ]\n          }\n        ],\n        \"status\": \"expired\",\n        \"published\": \"2019-07-01T04:51:08.000Z\",\n        \"updated\": \"2019-07-01T05:00:11.559Z\",\n        \"expires\": \"2019-07-01T05:12:13.892Z\",\n        \"pubStr\": \"Jul 1, 2019, 6:51 AM - 7:12 AM Uhr\",\n        \"road\": {\n          \"roadId\": 7105,\n          \"road\": \"A42\",\n          \"roadName\": \"\",\n          \"type\": \"L1.1\"\n        }\n      },\n      \"yBpmV8qWIf\": {\n        \"srcId\": \"DNWLMSNW98430-20190701T050402Z\",\n        \"source\": \"viz\",\n        \"region\": [\n          260\n        ],\n        \"versions\": [\n          {\n            \"direction\": -1,\n            \"inserted\": \"2019-07-01T05:10:12.341Z\",\n            \"srcId\": \"DNWLMS-NW-98430-2019-07-01T05:04:02Z\",\n            \"hashId\": \"UxzHOOedGt\",\n            \"published\": \"2019-07-01T05:04:02.000Z\",\n            \"pubStr\": \"Jul 1, 2019, 7:04 AM - 7:37 AM Uhr\",\n            \"text\": {\n              \"road\": \"A42\",\n              \"segment\": \"Dortmund - Kamp-Lintfort\",\n              \"section\": \"zwischen Gelsenkirchen-Schalke (17) und Gelsenkirchen-Zentrum (16)\",\n              \"events\": \"Stau\"\n            },\n            \"points\": [\n              {\n                \"locId\": 7105.017,\n                \"srcLocId\": 40000,\n                \"type\": \"P1.3\",\n                \"road\": \"A42\",\n                \"name\": \"Gelsenkirchen-Schalke\",\n                \"roadName\": \"\",\n                \"locSection\": 7105,\n                \"locPrev\": 11273,\n                \"locNext\": 11271,\n                \"locLeap\": 0,\n                \"locIntersection\": [\n                  47758,\n                  47754,\n                  40000\n                ],\n                \"existsPos\": 1,\n                \"existsNeg\": 1,\n                \"exitNumber\": \"17\",\n                \"geoCoords\": [\n                  7.09525,\n                  51.5343\n                ]\n              },\n              {\n                \"locId\": 7105.016,\n                \"srcLocId\": 11271,\n                \"type\": \"P1.3\",\n                \"road\": \"A42\",\n                \"name\": \"Gelsenkirchen-Zentrum\",\n                \"roadName\": \"\",\n                \"locSection\": 7105,\n                \"locPrev\": 40000,\n                \"locNext\": 11270,\n                \"locLeap\": 0,\n                \"locIntersection\": [\n                  11271,\n                  39463\n                ],\n                \"existsPos\": 1,\n                \"existsNeg\": 1,\n                \"exitNumber\": \"16\",\n                \"geoCoords\": [\n                  7.07185,\n                  51.52275\n                ]\n              }\n            ],\n            \"coords\": [\n              \n            ],\n            \"events\": [\n              {\n                \"id\": 101,\n                \"cat\": 1,\n                \"quantType\": \"\",\n                \"quantValue\": -1,\n                \"src\": \"xml\"\n              }\n            ]\n          },\n          {\n            \"direction\": -1,\n            \"inserted\": \"2019-07-01T05:15:10.989Z\",\n            \"srcId\": \"DNWLMS-NW-98430-2019-07-01T05:09:34Z\",\n            \"hashId\": \"X8YO8mzH1C\",\n            \"published\": \"2019-07-01T05:09:34.000Z\",\n            \"pubStr\": \"Jul 1, 2019, 07:09 Uhr\",\n            \"text\": {\n              \"road\": \"A42\",\n              \"segment\": \"Dortmund - Kamp-Lintfort\",\n              \"section\": \"zwischen Gelsenkirchen-Schalke (17) und Gelsenkirchen-Zentrum (16)\",\n              \"events\": \"4 km Stau\"\n            },\n            \"points\": [\n              {\n                \"locId\": 7105.017,\n                \"srcLocId\": 40000,\n                \"type\": \"P1.3\",\n                \"road\": \"A42\",\n                \"name\": \"Gelsenkirchen-Schalke\",\n                \"roadName\": \"\",\n                \"locSection\": 7105,\n                \"locPrev\": 11273,\n                \"locNext\": 11271,\n                \"locLeap\": 0,\n                \"locIntersection\": [\n                  47758,\n                  47754,\n                  40000\n                ],\n                \"existsPos\": 1,\n                \"existsNeg\": 1,\n                \"exitNumber\": \"17\",\n                \"geoCoords\": [\n                  7.09525,\n                  51.5343\n                ]\n              },\n              {\n                \"locId\": 7105.016,\n                \"srcLocId\": 11271,\n                \"type\": \"P1.3\",\n                \"road\": \"A42\",\n                \"name\": \"Gelsenkirchen-Zentrum\",\n                \"roadName\": \"\",\n                \"locSection\": 7105,\n                \"locPrev\": 40000,\n                \"locNext\": 11270,\n                \"locLeap\": 0,\n                \"locIntersection\": [\n                  11271,\n                  39463\n                ],\n                \"existsPos\": 1,\n                \"existsNeg\": 1,\n                \"exitNumber\": \"16\",\n                \"geoCoords\": [\n                  7.07185,\n                  51.52275\n                ]\n              }\n            ],\n            \"coords\": [\n              \n            ],\n            \"events\": [\n              {\n                \"id\": 104,\n                \"cat\": 1,\n                \"quantType\": \"LEN\",\n                \"quantValue\": 4,\n                \"src\": \"xml\"\n              }\n            ]\n          },\n          {\n            \"direction\": -1,\n            \"inserted\": \"2019-07-01T05:20:11.643Z\",\n            \"srcId\": \"DNWLMS-NW-98430-2019-07-01T05:14:27Z\",\n            \"hashId\": \"70ltJsjV98\",\n            \"published\": \"2019-07-01T05:14:27.000Z\",\n            \"pubStr\": \"Jul 1, 2019, 07:14 Uhr\",\n            \"text\": {\n              \"road\": \"A42\",\n              \"segment\": \"Dortmund - Kamp-Lintfort\",\n              \"section\": \"zwischen Gelsenkirchen-Schalke (17) und Gelsenkirchen-Zentrum (16)\",\n              \"events\": \"2 km Stau\"\n            },\n            \"points\": [\n              {\n                \"locId\": 7105.017,\n                \"srcLocId\": 40000,\n                \"type\": \"P1.3\",\n                \"road\": \"A42\",\n                \"name\": \"Gelsenkirchen-Schalke\",\n                \"roadName\": \"\",\n                \"locSection\": 7105,\n                \"locPrev\": 11273,\n                \"locNext\": 11271,\n                \"locLeap\": 0,\n                \"locIntersection\": [\n                  47758,\n                  47754,\n                  40000\n                ],\n                \"existsPos\": 1,\n                \"existsNeg\": 1,\n                \"exitNumber\": \"17\",\n                \"geoCoords\": [\n                  7.09525,\n                  51.5343\n                ]\n              },\n              {\n                \"locId\": 7105.016,\n                \"srcLocId\": 11271,\n                \"type\": \"P1.3\",\n                \"road\": \"A42\",\n                \"name\": \"Gelsenkirchen-Zentrum\",\n                \"roadName\": \"\",\n                \"locSection\": 7105,\n                \"locPrev\": 40000,\n                \"locNext\": 11270,\n                \"locLeap\": 0,\n                \"locIntersection\": [\n                  11271,\n                  39463\n                ],\n                \"existsPos\": 1,\n                \"existsNeg\": 1,\n                \"exitNumber\": \"16\",\n                \"geoCoords\": [\n                  7.07185,\n                  51.52275\n                ]\n              }\n            ],\n            \"coords\": [\n              \n            ],\n            \"events\": [\n              {\n                \"id\": 103,\n                \"cat\": 1,\n                \"quantType\": \"LEN\",\n                \"quantValue\": 2,\n                \"src\": \"xml\"\n              }\n            ]\n          }\n        ],\n        \"status\": \"expired\",\n        \"published\": \"2019-07-01T05:04:02.000Z\",\n        \"updated\": \"2019-07-01T05:20:11.643Z\",\n        \"expires\": \"2019-07-01T05:37:17.015Z\",\n        \"pubStr\": \"Jul 1, 2019, 7:04 AM - 7:37 AM Uhr\",\n        \"road\": {\n          \"roadId\": 7105,\n          \"road\": \"A42\",\n          \"roadName\": \"\",\n          \"type\": \"L1.1\"\n        }\n      }\n    }\n  }\n}"}],"_postman_id":"ec2d2d70-87d4-4764-b7da-1cc530895ec2"}],"id":"3ece002a-2809-420a-ba2f-69ab0af1a861","description":"<p>The Messages Object is the main object returned by the <a href=\"#a728b657-ebdc-4b11-86d4-058c19016da5\">Traffic Archiv API</a> and contains a list of individual traffic incidents. Each of the object's items (=traffic incidents) can be accessed by a unique key which at the same time represent the unique ID of the traffic incident.<br />The sample request below returns a Messages Object that contains two traffic incidents:</p>\n<h4 id=\"elements-of-the-messageskey-object\">Elements of the <code>messages[key]</code> object</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"messages\": {\n        \"xy6pdFtwRo\": { /* = unique key of first message */\n            \"srcId\": \"DRPLMSRP128280-20190527T173324Z\",\n            \"source\": \"viz\",\n            \"road\": {\n                /* Road Object */\n            },\n            \"region\": [262],\n            \"versions\": [\n                /* Array of one or more message version objects */\n            ],\n            \"status\": \"expired\",\n            \"published\": \"2019-05-27T17:33:24.000Z\",\n            \"updated\": \"2019-05-31T20:30:10.771Z\",\n            \"expires\": \"2019-08-30T22:12:13.783Z\",\n            \"pubStr\": \"May 27, 7:33 Uhr - Aug 31, 12:12 Uhr\"\n         },\n         \"9wFHgjSwOJ\": {\n            /* Object of second message */\n         }\n    }\n}\n</code></pre><p>   </p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>srcId</code></td>\n<td>A unique ID that identifies the traffic incident. It is based on the  original ID issued by the message <code>source</code> (e.g. VIZ).</td>\n</tr>\n<tr>\n<td><code>source</code></td>\n<td>The entity that published the message in the first place.  VIZ = Verkehrsinformationszentrale.</td>\n</tr>\n<tr>\n<td><code>road</code></td>\n<td>The <a href=\"#e0ce43dd-236c-46de-b87d-d7fe91a32092\">Road Object</a> contains all information about the road the incident  was reported on.</td>\n</tr>\n<tr>\n<td><code>region</code></td>\n<td>An array of <a href=\"#4dc3f6dc-9443-4153-86ab-76ee13a953ed\">Region Codes</a> representing the German States which are affected by the reported incident.</td>\n</tr>\n<tr>\n<td><code>versions</code></td>\n<td>An array of all versions of this message. Unless the <strong>history</strong>  parameter is set to 1, <code>versions</code> only contains the earliest version.</td>\n</tr>\n<tr>\n<td><code>status</code></td>\n<td>A value of <em>active</em> is returned in case the incident is still ongoing,  otherwise <em>expired</em> is returned.</td>\n</tr>\n<tr>\n<td><code>published</code></td>\n<td>A <a href=\"https://en.wikipedia.org/wiki/Coordinated_Universal_Time\">UTC</a> date time string indicating when the message was originally published by <code>source</code>.</td>\n</tr>\n<tr>\n<td><code>updated</code></td>\n<td>Represents the date and time of the message's last update. Usually  triggered when a new message version is added to <code>versions</code>.</td>\n</tr>\n<tr>\n<td><code>expires</code></td>\n<td>Date and time this message will or already had expired.  If <code>status</code> is <em>active</em> and the expiration date is not known yet, a random  future date of <em>2042-08-14T19:19:09.000Z</em> is returned.</td>\n</tr>\n</tbody>\n</table>\n</div><p>   </p>\n<h4 id=\"elements-of-the-messageskeyversions-array\">Elements of the <code>messages[key]</code>.<code>versions</code> array</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code> {\n    \"hashId\": \"pj2kxh43eS\",\n    \"published\": \"2019-05-27T17:33:24.000Z\",\n    \"direction\": -1,\n    \"text\": {\n      \"road\": \"A3\",\n      \"segment\": \"Köln - Frankfurt\",\n      \"section\": \"zwischen Montabaur (40) und Diez (41)\",\n      \"events\": \"Baustelle, bis 30.08.2019 23:59 Uhr\"\n    },\n    \"points\": [\n        /* An array of Road Location Points */\n    ],\n    \"coords\": [\n        /* An array of geo coordinates */\n    ],\n    \"events\": [\n        /* An array of Message Events */\n    ]\n  },\n</code></pre><div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>hashId</code></td>\n<td>A unique ID that identifies this version of the message.</td>\n</tr>\n<tr>\n<td><code>published</code></td>\n<td>A <a href=\"https://en.wikipedia.org/wiki/Coordinated_Universal_Time\">UTC</a> date time string indicating when this version of the message was originally published.</td>\n</tr>\n<tr>\n<td><code>direction</code></td>\n<td>Indicates whether the traffic incident is located on:     1 = the lane representing the positive direction of this road; -1 = the lane representing the negative direction of this road; 0 = the traffic incident affects both driving directions;  The positive driving direction of a given road can be determined by following   the <a href=\"#ca725936-df97-40dd-b624-b6514756006b\">Road Location Point</a> IDs in <code>messages[key]</code>.<code>versions[]</code>.<code>points[]</code>.<code>locId</code> in ascending order.</td>\n</tr>\n<tr>\n<td><code>text</code></td>\n<td>Represents the text version of this traffic incident split into <code>road</code> name,  road <code>segment</code>, <code>section</code> and <code>events</code> text strings.</td>\n</tr>\n<tr>\n<td><code>points</code></td>\n<td>An array of <a href=\"#ca725936-df97-40dd-b624-b6514756006b\">Road Location Points</a> which indicate the affected sections (e.g. highway exists)  of the road. The <code>points</code> info is not available for all messages. Also, the array will only be populated in case the <strong>locpoints</strong> parameter is set to 1. Items in this array are always  sorted by <code>points[].locId</code> in ascending order. Use the <code>direction</code> element to determine if <code>points</code>  elements should be displayed in positive or negative order to match the <code>text</code>.<code>section</code> text.</td>\n</tr>\n<tr>\n<td><code>coords</code></td>\n<td>An array of geo coordinates describing an area or a linear road segment. This information is  available for some messages for which <code>points</code> information is unavailable.</td>\n</tr>\n<tr>\n<td><code>events</code></td>\n<td>While <code>text</code>.<code>events</code> contains the traffic events of this message version as a text string,  the <code>events</code> array is representing this information in a standardized format as described in the <a href=\"#f8308e55-31dd-4db1-8ba1-c326d0dd636e\">Traffic Event API</a> documentation. The <code>events</code> array is only populated in case the  <strong>events</strong> parameter is set to 1.</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"id":"e28360a5-6fe7-4202-b59c-448b93b6920d","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"358e2509-a693-464d-a87c-31bbe980418a","type":"text/javascript","exec":[""]}}],"_postman_id":"3ece002a-2809-420a-ba2f-69ab0af1a861"},{"name":"Road Object","item":[{"name":"Road Object Sample","id":"d9dcd710-d325-4629-b68b-fa89231a868a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.stau1.de/roads/search?apikey=mbnKf6hhPsSMAGvLBKUIlosDmE&roads=A42|-1&locpoints=1&locsegments=1","description":"<p>This example returns road and road location data for Highway/Autobahn A42, exclusively for the lane leading from Dortmund to Kamp-Lintfort. For additional parameters please refer to the <a href=\"#a728b657-ebdc-4b11-86d4-058c19016da5\">Road Data API</a> documentation.</p>\n","urlObject":{"protocol":"https","path":["roads","search"],"host":["api","stau1","de"],"query":[{"description":{"content":"<p>Please replace with your own API key that is assigned to your Stau1 account.</p>\n","type":"text/plain"},"key":"apikey","value":"mbnKf6hhPsSMAGvLBKUIlosDmE"},{"description":{"content":"<p>Limit the result to road data for Highway / Autobahn A42 for its negative driving direction which in case of A42 is Dortmund towards Kamp-Linfort.</p>\n","type":"text/plain"},"key":"roads","value":"A42|-1"},{"description":{"content":"<p>Include Road Location Point data in the search result</p>\n","type":"text/plain"},"key":"locpoints","value":"1"},{"description":{"content":"<p>Include a list all segments of this roads. In case of A42 only one segment exists</p>\n","type":"text/plain"},"key":"locsegments","value":"1"}],"variable":[]}},"response":[{"id":"6df0a38e-0847-4576-a36c-9b700a26245e","name":"Road Object Sample Request","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.stau1.de/roads/search?apikey=mbnKf6hhPsSMAGvLBKUIlosDmE&roads=A42|-1&locpoints=1&locsegments=1","protocol":"https","host":["api","stau1","de"],"path":["roads","search"],"query":[{"key":"apikey","value":"mbnKf6hhPsSMAGvLBKUIlosDmE","description":"[required] Please replace with your own API key that is assigned to your Stau1 account."},{"key":"roads","value":"A42|-1","description":"[optional] Limit the result to road data for Highway / Autobahn A42 for its negative driving direction which in case of A42 is Dortmund towards Kamp-Linfort."},{"key":"locpoints","value":"1","description":"[optional] Include Road Location Point data in the search result"},{"key":"locsegments","value":"1","description":"[optional] Include a list all segments of this roads. In case of A42 only one segment exists"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 02 Dec 2019 23:09:42 GMT"},{"key":"Server","value":"Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips"},{"key":"X-Powered-By","value":"Express"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"10199"},{"key":"ETag","value":"W/\"27d7-GlCfab3YkgiMOzavKRC1jlYCsTA\""},{"key":"X-FRAME-OPTIONS","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"\n{\n  \"status\": \"success\",\n  \"result\": {\n    \"params\": {\n      \"roads\": [\n        \"A42|-1\"\n      ],\n      \"roadIds\": [\n        \n      ],\n      \"locPoints\": 1,\n      \"locSegments\": 1,\n      \"page\": 1,\n      \"amtpp\": 10\n    },\n    \"stats\": {\n      \"total\": 1,\n      \"pages\": 1,\n      \"amt\": 1,\n      \"searchId\": \"HXAOn\"\n    },\n    \"roads\": [\n      {\n        \"roadId\": 7105,\n        \"type\": \"L1.1\",\n        \"road\": \"A42\",\n        \"n1\": \"Dortmund\",\n        \"n2\": \"Kamp-Lintfort\",\n        \"points\": [\n          {\n            \"locState\": [\n              260\n            ],\n            \"locIntersection\": [\n              11283,\n              14728\n            ],\n            \"locId\": 7105.03,\n            \"srcLocId\": 11283,\n            \"type\": \"P1.3\",\n            \"name\": \"Dortmund-Bodelschwingh\",\n            \"roadName\": \"\",\n            \"locCity\": 389,\n            \"locCityDistrict\": 0,\n            \"locCountry\": 1,\n            \"locSection\": 7105,\n            \"locPrev\": 0,\n            \"locNext\": 11282,\n            \"locLeap\": 0,\n            \"existsPos\": 1,\n            \"existsNeg\": 1,\n            \"exitNumber\": \"27\",\n            \"geoCoords\": [\n              7.3615,\n              51.56075\n            ]\n          },\n          {\n            \"locState\": [\n              260\n            ],\n            \"locIntersection\": [\n              11282,\n              11434\n            ],\n            \"locId\": 7105.029,\n            \"srcLocId\": 11282,\n            \"type\": \"P1.1\",\n            \"name\": \"Kreuz Castrop-Rauxel-Ost\",\n            \"roadName\": \"\",\n            \"locCity\": 389,\n            \"locCityDistrict\": 0,\n            \"locCountry\": 1,\n            \"locSection\": 7105,\n            \"locPrev\": 11283,\n            \"locNext\": 11281,\n            \"locLeap\": 0,\n            \"existsPos\": 1,\n            \"existsNeg\": 1,\n            \"exitNumber\": \"27\",\n            \"geoCoords\": [\n              7.35815,\n              51.56145\n            ]\n          },\n          {\n            \"locState\": [\n              260\n            ],\n            \"locIntersection\": [\n              11281,\n              21959\n            ],\n            \"locId\": 7105.028,\n            \"srcLocId\": 11281,\n            \"type\": \"P1.3\",\n            \"name\": \"Castrop-Rauxel\",\n            \"roadName\": \"\",\n            \"locCity\": 614,\n            \"locCityDistrict\": 1036,\n            \"locCountry\": 1,\n            \"locSection\": 7105,\n            \"locPrev\": 11282,\n            \"locNext\": 11280,\n            \"locLeap\": 0,\n            \"existsPos\": 1,\n            \"existsNeg\": 1,\n            \"exitNumber\": \"26\",\n            \"geoCoords\": [\n              7.31485,\n              51.5613\n            ]\n          },\n          {\n            \"locState\": [\n              260\n            ],\n            \"locIntersection\": [\n              \n            ],\n            \"locId\": 7105.027,\n            \"srcLocId\": 11280,\n            \"type\": \"P1.3\",\n            \"name\": \"Castrop-Rauxel-Bladenhorst\",\n            \"roadName\": \"\",\n            \"locCity\": 614,\n            \"locCityDistrict\": 1036,\n            \"locCountry\": 1,\n            \"locSection\": 7105,\n            \"locPrev\": 11281,\n            \"locNext\": 39488,\n            \"locLeap\": 0,\n            \"existsPos\": 1,\n            \"existsNeg\": 1,\n            \"exitNumber\": \"25\",\n            \"geoCoords\": [\n              7.29235,\n              51.5587\n            ]\n          },\n          {\n            \"locState\": [\n              260\n            ],\n            \"locIntersection\": [\n              \n            ],\n            \"locId\": 7105.026,\n            \"srcLocId\": 39488,\n            \"type\": \"P3.4\",\n            \"name\": \"Rastplatz Lusebrink\",\n            \"roadName\": \"\",\n            \"locCity\": 614,\n            \"locCityDistrict\": 1036,\n            \"locCountry\": 1,\n            \"locSection\": 7105,\n            \"locPrev\": 11280,\n            \"locNext\": 39487,\n            \"locLeap\": 0,\n            \"existsPos\": 0,\n            \"existsNeg\": 1,\n            \"exitNumber\": \"0\",\n            \"geoCoords\": [\n              7.2755,\n              51.55865\n            ]\n          },\n          {\n            \"locState\": [\n              260\n            ],\n            \"locIntersection\": [\n              \n            ],\n            \"locId\": 7105.024,\n            \"srcLocId\": 11279,\n            \"type\": \"P1.3\",\n            \"name\": \"Herne-Börnig\",\n            \"roadName\": \"\",\n            \"locCity\": 463,\n            \"locCityDistrict\": 0,\n            \"locCountry\": 1,\n            \"locSection\": 7105,\n            \"locPrev\": 39487,\n            \"locNext\": 11278,\n            \"locLeap\": 0,\n            \"existsPos\": 1,\n            \"existsNeg\": 1,\n            \"exitNumber\": \"24\",\n            \"geoCoords\": [\n              7.26295,\n              51.5572\n            ]\n          },\n          {\n            \"locState\": [\n              260\n            ],\n            \"locIntersection\": [\n              \n            ],\n            \"locId\": 7105.023,\n            \"srcLocId\": 11278,\n            \"type\": \"P1.3\",\n            \"name\": \"Herne-Horsthausen\",\n            \"roadName\": \"\",\n            \"locCity\": 463,\n            \"locCityDistrict\": 0,\n            \"locCountry\": 1,\n            \"locSection\": 7105,\n            \"locPrev\": 11279,\n            \"locNext\": 11277,\n            \"locLeap\": 0,\n            \"existsPos\": 1,\n            \"existsNeg\": 1,\n            \"exitNumber\": \"23\",\n            \"geoCoords\": [\n              7.2308,\n              51.5559\n            ]\n          },\n          {\n            \"locState\": [\n              260\n            ],\n            \"locIntersection\": [\n              11277,\n              39776\n            ],\n            \"locId\": 7105.022,\n            \"srcLocId\": 11277,\n            \"type\": \"P1.3\",\n            \"name\": \"Herne-Baukau\",\n            \"roadName\": \"\",\n            \"locCity\": 463,\n            \"locCityDistrict\": 0,\n            \"locCountry\": 1,\n            \"locSection\": 7105,\n            \"locPrev\": 11278,\n            \"locNext\": 11276,\n            \"locLeap\": 0,\n            \"existsPos\": 1,\n            \"existsNeg\": 1,\n            \"exitNumber\": \"22\",\n            \"geoCoords\": [\n              7.21225,\n              51.5484\n            ]\n          },\n          {\n            \"locState\": [\n              260\n            ],\n            \"locIntersection\": [\n              11295,\n              11276\n            ],\n            \"locId\": 7105.021,\n            \"srcLocId\": 11276,\n            \"type\": \"P1.1\",\n            \"name\": \"Kreuz Herne\",\n            \"roadName\": \"\",\n            \"locCity\": 463,\n            \"locCityDistrict\": 0,\n            \"locCountry\": 1,\n            \"locSection\": 7105,\n            \"locPrev\": 11277,\n            \"locNext\": 11275,\n            \"locLeap\": 0,\n            \"existsPos\": 1,\n            \"existsNeg\": 1,\n            \"exitNumber\": \"21\",\n            \"geoCoords\": [\n              7.1999,\n              51.5445\n            ]\n          },\n          {\n            \"locState\": [\n              260\n            ],\n            \"locIntersection\": [\n              11275,\n              21882\n            ],\n            \"locId\": 7105.02,\n            \"srcLocId\": 11275,\n            \"type\": \"P1.3\",\n            \"name\": \"Herne-Crange\",\n            \"roadName\": \"\",\n            \"locCity\": 463,\n            \"locCityDistrict\": 0,\n            \"locCountry\": 1,\n            \"locSection\": 7105,\n            \"locPrev\": 11276,\n            \"locNext\": 11274,\n            \"locLeap\": 0,\n            \"existsPos\": 1,\n            \"existsNeg\": 1,\n            \"exitNumber\": \"20\",\n            \"geoCoords\": [\n              7.16825,\n              51.54235\n            ]\n          },\n          {\n            \"locState\": [\n              260\n            ],\n            \"locIntersection\": [\n              \n            ],\n            \"locId\": 7105.019,\n            \"srcLocId\": 11274,\n            \"type\": \"P1.3\",\n            \"name\": \"Herne-Wanne\",\n            \"roadName\": \"\",\n            \"locCity\": 463,\n            \"locCityDistrict\": 0,\n            \"locCountry\": 1,\n            \"locSection\": 7105,\n            \"locPrev\": 11275,\n            \"locNext\": 11273,\n            \"locLeap\": 0,\n            \"existsPos\": 1,\n            \"existsNeg\": 1,\n            \"exitNumber\": \"19\",\n            \"geoCoords\": [\n              7.1498,\n              51.5415\n            ]\n          },\n          {\n            \"locState\": [\n              260\n            ],\n            \"locIntersection\": [\n              \n            ],\n            \"locId\": 7105.018,\n            \"srcLocId\": 11273,\n            \"type\": \"P1.3\",\n            \"name\": \"Gelsenkirchen-Bismarck\",\n            \"roadName\": \"\",\n            \"locCity\": 426,\n            \"locCityDistrict\": 0,\n            \"locCountry\": 1,\n            \"locSection\": 7105,\n            \"locPrev\": 11274,\n            \"locNext\": 40000,\n            \"locLeap\": 0,\n            \"existsPos\": 1,\n            \"existsNeg\": 1,\n            \"exitNumber\": \"18\",\n            \"geoCoords\": [\n              7.12685,\n              51.5377\n            ]\n          },\n          {\n            \"locState\": [\n              260\n            ],\n            \"locIntersection\": [\n              47758,\n              47754,\n              40000\n            ],\n            \"locId\": 7105.017,\n            \"srcLocId\": 40000,\n            \"type\": \"P1.3\",\n            \"name\": \"Gelsenkirchen-Schalke\",\n            \"roadName\": \"\",\n            \"locCity\": 426,\n            \"locCityDistrict\": 0,\n            \"locCountry\": 1,\n            \"locSection\": 7105,\n            \"locPrev\": 11273,\n            \"locNext\": 11271,\n            \"locLeap\": 0,\n            \"existsPos\": 1,\n            \"existsNeg\": 1,\n            \"exitNumber\": \"17\",\n            \"geoCoords\": [\n              7.09525,\n              51.5343\n            ]\n          },\n          {\n            \"locState\": [\n              260\n            ],\n            \"locIntersection\": [\n              11271,\n              39463\n            ],\n            \"locId\": 7105.016,\n            \"srcLocId\": 11271,\n            \"type\": \"P1.3\",\n            \"name\": \"Gelsenkirchen-Zentrum\",\n            \"roadName\": \"\",\n            \"locCity\": 426,\n            \"locCityDistrict\": 0,\n            \"locCountry\": 1,\n            \"locSection\": 7105,\n            \"locPrev\": 40000,\n            \"locNext\": 11270,\n            \"locLeap\": 0,\n            \"existsPos\": 1,\n            \"existsNeg\": 1,\n            \"exitNumber\": \"16\",\n            \"geoCoords\": [\n              7.07185,\n              51.52275\n            ]\n          },\n          {\n            \"locState\": [\n              260\n            ],\n            \"locIntersection\": [\n              40224,\n              11270\n            ],\n            \"locId\": 7105.015,\n            \"srcLocId\": 11270,\n            \"type\": \"P1.3\",\n            \"name\": \"Gelsenkirchen-Heßler\",\n            \"roadName\": \"\",\n            \"locCity\": 426,\n            \"locCityDistrict\": 0,\n            \"locCountry\": 1,\n            \"locSection\": 7105,\n            \"locPrev\": 11271,\n            \"locNext\": 11269,\n            \"locLeap\": 0,\n            \"existsPos\": 1,\n            \"existsNeg\": 1,\n            \"exitNumber\": \"15\",\n            \"geoCoords\": [\n              7.04375,\n              51.5146\n            ]\n          },\n          {\n            \"locState\": [\n              260\n            ],\n            \"locIntersection\": [\n              \n            ],\n            \"locId\": 7105.014,\n            \"srcLocId\": 11269,\n            \"type\": \"P1.3\",\n            \"name\": \"Essen-Altenessen\",\n            \"roadName\": \"\",\n            \"locCity\": 408,\n            \"locCityDistrict\": 0,\n            \"locCountry\": 1,\n            \"locSection\": 7105,\n            \"locPrev\": 11270,\n            \"locNext\": 11268,\n            \"locLeap\": 0,\n            \"existsPos\": 1,\n            \"existsNeg\": 1,\n            \"exitNumber\": \"14\",\n            \"geoCoords\": [\n              7.01365,\n              51.5081\n            ]\n          },\n          {\n            \"locState\": [\n              260\n            ],\n            \"locIntersection\": [\n              11268,\n              21854\n            ],\n            \"locId\": 7105.013,\n            \"srcLocId\": 11268,\n            \"type\": \"P1.1\",\n            \"name\": \"Kreuz Essen-Nord\",\n            \"roadName\": \"\",\n            \"locCity\": 408,\n            \"locCityDistrict\": 0,\n            \"locCountry\": 1,\n            \"locSection\": 7105,\n            \"locPrev\": 11269,\n            \"locNext\": 11267,\n            \"locLeap\": 0,\n            \"existsPos\": 1,\n            \"existsNeg\": 1,\n            \"exitNumber\": \"13\",\n            \"geoCoords\": [\n              6.9966,\n              51.50555\n            ]\n          },\n          {\n            \"locState\": [\n              260\n            ],\n            \"locIntersection\": [\n              39779,\n              11267\n            ],\n            \"locId\": 7105.012,\n            \"srcLocId\": 11267,\n            \"type\": \"P1.3\",\n            \"name\": \"Bottrop-Süd\",\n            \"roadName\": \"\",\n            \"locCity\": 354,\n            \"locCityDistrict\": 0,\n            \"locCountry\": 1,\n            \"locSection\": 7105,\n            \"locPrev\": 11268,\n            \"locNext\": 11266,\n            \"locLeap\": 0,\n            \"existsPos\": 1,\n            \"existsNeg\": 1,\n            \"exitNumber\": \"12\",\n            \"geoCoords\": [\n              6.93535,\n              51.5045\n            ]\n          },\n          {\n            \"locState\": [\n              260\n            ],\n            \"locIntersection\": [\n              \n            ],\n            \"locId\": 7105.011,\n            \"srcLocId\": 11266,\n            \"type\": \"P1.3\",\n            \"name\": \"Oberhausen Neue Mitte\",\n            \"roadName\": \"\",\n            \"locCity\": 575,\n            \"locCityDistrict\": 0,\n            \"locCountry\": 1,\n            \"locSection\": 7105,\n            \"locPrev\": 11267,\n            \"locNext\": 11265,\n            \"locLeap\": 0,\n            \"existsPos\": 1,\n            \"existsNeg\": 1,\n            \"exitNumber\": \"11\",\n            \"geoCoords\": [\n              6.8896,\n              51.49675\n            ]\n          },\n          {\n            \"locState\": [\n              260\n            ],\n            \"locIntersection\": [\n              11265,\n              21840\n            ],\n            \"locId\": 7105.01,\n            \"srcLocId\": 11265,\n            \"type\": \"P1.3\",\n            \"name\": \"Oberhausen-Zentrum\",\n            \"roadName\": \"\",\n            \"locCity\": 575,\n            \"locCityDistrict\": 0,\n            \"locCountry\": 1,\n            \"locSection\": 7105,\n            \"locPrev\": 11266,\n            \"locNext\": 11264,\n            \"locLeap\": 0,\n            \"existsPos\": 1,\n            \"existsNeg\": 1,\n            \"exitNumber\": \"10\",\n            \"geoCoords\": [\n              6.8638,\n              51.49635\n            ]\n          },\n          {\n            \"locState\": [\n              260\n            ],\n            \"locIntersection\": [\n              \n            ],\n            \"locId\": 7105.009,\n            \"srcLocId\": 11264,\n            \"type\": \"P1.3\",\n            \"name\": \"Oberhausen-Buschhausen\",\n            \"roadName\": \"\",\n            \"locCity\": 575,\n            \"locCityDistrict\": 0,\n            \"locCountry\": 1,\n            \"locSection\": 7105,\n            \"locPrev\": 11265,\n            \"locNext\": 11263,\n            \"locLeap\": 0,\n            \"existsPos\": 1,\n            \"existsNeg\": 1,\n            \"exitNumber\": \"9\",\n            \"geoCoords\": [\n              6.8385,\n              51.49065\n            ]\n          },\n          {\n            \"locState\": [\n              260\n            ],\n            \"locIntersection\": [\n              11263,\n              10926\n            ],\n            \"locId\": 7105.008,\n            \"srcLocId\": 11263,\n            \"type\": \"P1.1\",\n            \"name\": \"Kreuz Oberhausen-West\",\n            \"roadName\": \"\",\n            \"locCity\": 391,\n            \"locCityDistrict\": 0,\n            \"locCountry\": 1,\n            \"locSection\": 7105,\n            \"locPrev\": 11264,\n            \"locNext\": 11262,\n            \"locLeap\": 0,\n            \"existsPos\": 1,\n            \"existsNeg\": 1,\n            \"exitNumber\": \"8\",\n            \"geoCoords\": [\n              6.8148,\n              51.4874\n            ]\n          },\n          {\n            \"locState\": [\n              260\n            ],\n            \"locIntersection\": [\n              25261,\n              11262\n            ],\n            \"locId\": 7105.007,\n            \"srcLocId\": 11262,\n            \"type\": \"P1.3\",\n            \"name\": \"Duisburg-Neumühl\",\n            \"roadName\": \"\",\n            \"locCity\": 391,\n            \"locCityDistrict\": 0,\n            \"locCountry\": 1,\n            \"locSection\": 7105,\n            \"locPrev\": 11263,\n            \"locNext\": 11261,\n            \"locLeap\": 0,\n            \"existsPos\": 1,\n            \"existsNeg\": 1,\n            \"exitNumber\": \"7\",\n            \"geoCoords\": [\n              6.7941,\n              51.48475\n            ]\n          },\n          {\n            \"locState\": [\n              260\n            ],\n            \"locIntersection\": [\n              11840,\n              11261\n            ],\n            \"locId\": 7105.006,\n            \"srcLocId\": 11261,\n            \"type\": \"P1.1\",\n            \"name\": \"Kreuz Duisburg-Nord\",\n            \"roadName\": \"\",\n            \"locCity\": 391,\n            \"locCityDistrict\": 0,\n            \"locCountry\": 1,\n            \"locSection\": 7105,\n            \"locPrev\": 11262,\n            \"locNext\": 11260,\n            \"locLeap\": 0,\n            \"existsPos\": 1,\n            \"existsNeg\": 1,\n            \"exitNumber\": \"6\",\n            \"geoCoords\": [\n              6.77065,\n              51.48335\n            ]\n          },\n          {\n            \"locState\": [\n              260\n            ],\n            \"locIntersection\": [\n              17508,\n              11260\n            ],\n            \"locId\": 7105.005,\n            \"srcLocId\": 11260,\n            \"type\": \"P1.3\",\n            \"name\": \"Duisburg-Beeck\",\n            \"roadName\": \"\",\n            \"locCity\": 391,\n            \"locCityDistrict\": 0,\n            \"locCountry\": 1,\n            \"locSection\": 7105,\n            \"locPrev\": 11261,\n            \"locNext\": 11259,\n            \"locLeap\": 0,\n            \"existsPos\": 1,\n            \"existsNeg\": 1,\n            \"exitNumber\": \"5\",\n            \"geoCoords\": [\n              6.7323,\n              51.481\n            ]\n          },\n          {\n            \"locState\": [\n              260\n            ],\n            \"locIntersection\": [\n              \n            ],\n            \"locId\": 7105.004,\n            \"srcLocId\": 11259,\n            \"type\": \"P1.3\",\n            \"name\": \"Duisburg-Beeckerwerth\",\n            \"roadName\": \"\",\n            \"locCity\": 391,\n            \"locCityDistrict\": 0,\n            \"locCountry\": 1,\n            \"locSection\": 7105,\n            \"locPrev\": 11260,\n            \"locNext\": 40196,\n            \"locLeap\": 0,\n            \"existsPos\": 1,\n            \"existsNeg\": 1,\n            \"exitNumber\": \"4\",\n            \"geoCoords\": [\n              6.7039,\n              51.4787\n            ]\n          },\n          {\n            \"locState\": [\n              260\n            ],\n            \"locIntersection\": [\n              \n            ],\n            \"locId\": 7105.003,\n            \"srcLocId\": 40196,\n            \"type\": \"P3.2\",\n            \"name\": \" Rheinbrücke Beeckerwerth\",\n            \"roadName\": \"\",\n            \"locCity\": 391,\n            \"locCityDistrict\": 0,\n            \"locCountry\": 1,\n            \"locSection\": 7105,\n            \"locPrev\": 11259,\n            \"locNext\": 11258,\n            \"locLeap\": 0,\n            \"existsPos\": 1,\n            \"existsNeg\": 1,\n            \"exitNumber\": \"0\",\n            \"geoCoords\": [\n              6.6806,\n              51.4809\n            ]\n          },\n          {\n            \"locState\": [\n              260\n            ],\n            \"locIntersection\": [\n              11258,\n              17506\n            ],\n            \"locId\": 7105.002,\n            \"srcLocId\": 11258,\n            \"type\": \"P1.3\",\n            \"name\": \"Duisburg-Baerl\",\n            \"roadName\": \"\",\n            \"locCity\": 391,\n            \"locCityDistrict\": 0,\n            \"locCountry\": 1,\n            \"locSection\": 7105,\n            \"locPrev\": 40196,\n            \"locNext\": 11257,\n            \"locLeap\": 0,\n            \"existsPos\": 1,\n            \"existsNeg\": 1,\n            \"exitNumber\": \"3\",\n            \"geoCoords\": [\n              6.6708,\n              51.4816\n            ]\n          },\n          {\n            \"locState\": [\n              260\n            ],\n            \"locIntersection\": [\n              14740,\n              11257\n            ],\n            \"locId\": 7105.001,\n            \"srcLocId\": 11257,\n            \"type\": \"P1.3\",\n            \"name\": \"Moers-Nord\",\n            \"roadName\": \"\",\n            \"locCity\": 709,\n            \"locCityDistrict\": 4396,\n            \"locCountry\": 1,\n            \"locSection\": 7105,\n            \"locPrev\": 11258,\n            \"locNext\": 11256,\n            \"locLeap\": 0,\n            \"existsPos\": 1,\n            \"existsNeg\": 1,\n            \"exitNumber\": \"2\",\n            \"geoCoords\": [\n              6.6328,\n              51.4938\n            ]\n          },\n          {\n            \"locState\": [\n              260\n            ],\n            \"locIntersection\": [\n              55794,\n              11793,\n              11256\n            ],\n            \"locId\": 7105,\n            \"srcLocId\": 11256,\n            \"type\": \"P1.1\",\n            \"name\": \"Kreuz Kamp-Lintfort\",\n            \"roadName\": \"\",\n            \"locCity\": 709,\n            \"locCityDistrict\": 4396,\n            \"locCountry\": 1,\n            \"locSection\": 7105,\n            \"locPrev\": 11257,\n            \"locNext\": 0,\n            \"locLeap\": 0,\n            \"existsPos\": 1,\n            \"existsNeg\": 1,\n            \"exitNumber\": \"1\",\n            \"geoCoords\": [\n              6.57655,\n              51.48885\n            ]\n          }\n        ],\n        \"segments\": [\n          {\n            \"segmentId\": 7105,\n            \"roadName\": \"\",\n            \"n1\": \"Dortmund\",\n            \"n2\": \"Kamp-Lintfort\",\n            \"locPrev\": 0,\n            \"locNext\": 0,\n            \"displayOrder\": 0\n          }\n        ],\n        \"order\": 34,\n        \"regions\": [\n          260\n        ]\n      }\n    ]\n  }\n}"}],"_postman_id":"d9dcd710-d325-4629-b68b-fa89231a868a"}],"id":"e0ce43dd-236c-46de-b87d-d7fe91a32092","description":"<p>The Road object is the main object returned by the <a href=\"#d4907fa4-8741-45ff-ae51-9fa53ee041bf\">Road Data API</a> where - depending on the search paramters - one or multiple Road objects can be found in the <code>result</code>.<code>roads[]</code> array.<br />Individual traffic incidients returned by the <a href=\"#a728b657-ebdc-4b11-86d4-058c19016da5\">Traffic Archive API</a> also include road data. There, since by convention a traffic incident is assigned to one particular road, a single Road object can be found at <code>result</code>.<code>messages[key]</code>.<code>road</code>.   </p>\n<p>Important child elements are <code>points</code> and <code>segments</code> which contain the road's <a href=\"#ca725936-df97-40dd-b624-b6514756006b\">Location Points</a> and road segments respectively. When requested via a Traffic Archive API call, both of these elements are not part of the <code>result</code>.<code>messages[key]</code>.<code>road</code> object but can instead be found in the <code>result</code>.<code>messages[key]</code>.<code>versions[]</code> object. This is the case, because affected Road Location Points may vary for each version of a message.  </p>\n<p> </p>\n<h4 id=\"elements-of-the-roads-and-road-object\">Elements of the <code>roads[]</code> and <code>road</code> object</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"roadId\": 7105,\n    \"type\": \"L1.1\",\n    \"road\": \"A42\",\n    \"n1\": \"Dortmund\",\n    \"n2\": \"Kamp-Lintfort\",\n    \"points\": [\n        /* Array of Road Location Points */\n    ],\n    \"segments\": [\n        /* Array of Road Segments */\n    ],\n    \"order\": 34,\n    \"regions\": [\n        260\n    ]\n}\n</code></pre><p>   </p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>roadId</code></td>\n<td>A unique ID as defined by the official Location Code List (LCL).</td>\n</tr>\n<tr>\n<td><code>road</code></td>\n<td>A string representing the road name. Road names are not unique. E.g. there are four roads  named 'L100' in Germany.</td>\n</tr>\n<tr>\n<td><code>type</code></td>\n<td>Provides the road type (e.g. Autobahn, Bundesstraße, Landstraße etc.). Please see the Road Type table below for details.</td>\n</tr>\n<tr>\n<td><code>n1</code></td>\n<td>Road segment start name.</td>\n</tr>\n<tr>\n<td><code>n2</code></td>\n<td>Road segment end name.</td>\n</tr>\n<tr>\n<td><code>points</code></td>\n<td>An array of <a href=\"#ca725936-df97-40dd-b624-b6514756006b\">Road Location Points</a> defining the linear course of the road. Please note that when querying the  <a href=\"#a728b657-ebdc-4b11-86d4-058c19016da5\">Traffic Archive API</a> the <code>points</code> object is not part  of <code>messages[key]</code>.<code>road</code> but instead is a child element of <code>messages[key]</code>.<code>versions[]</code>.  In any case <code>points</code> only contains data if the <strong>locpoints</strong> parameter is set to 1.</td>\n</tr>\n<tr>\n<td><code>segments</code></td>\n<td>An array of one or more segments defined for this road. The <code>segmentId</code> uniquely identifies  the segment in the LCL table. <code>locPrev</code> and <code>locNext</code> point to the prior and subsequent  segment ID of this road. <code>segments</code> only contains data if the <strong>locsegments</strong> parameter is set to 1.</td>\n</tr>\n<tr>\n<td><code>regions</code></td>\n<td>An array of <a href=\"#4dc3f6dc-9443-4153-86ab-76ee13a953ed\">Region Codes</a> the road is located in.</td>\n</tr>\n</tbody>\n</table>\n</div><p> <br />Road Types provide in <code>type</code></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Id</th>\n<th>Group</th>\n<th>Type</th>\n<th></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>L1.1</td>\n<td>1</td>\n<td>Motorway / Highway</td>\n<td>Autobahn</td>\n</tr>\n<tr>\n<td>L1.2</td>\n<td>2</td>\n<td>Bundestrasse</td>\n<td>Bundesstraße</td>\n</tr>\n<tr>\n<td>L1.3</td>\n<td>3</td>\n<td>Landstrasse</td>\n<td>Landstraße</td>\n</tr>\n<tr>\n<td>L1.4</td>\n<td>4</td>\n<td>Kreisstrasse</td>\n<td>Kreisstraße</td>\n</tr>\n<tr>\n<td>L2.1</td>\n<td>1</td>\n<td>Ring motorway</td>\n<td>Autobahnring</td>\n</tr>\n<tr>\n<td>L2.2</td>\n<td>2</td>\n<td>Ring road</td>\n<td>Ringstraße</td>\n</tr>\n<tr>\n<td>L5</td>\n<td>5</td>\n<td>Street</td>\n<td>Straße</td>\n</tr>\n<tr>\n<td>L6.1</td>\n<td>6</td>\n<td>Ferry</td>\n<td>Fährverbindung</td>\n</tr>\n<tr>\n<td>L6.2</td>\n<td>6</td>\n<td>Motorrail train</td>\n<td>Autoreisezug</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"id":"737c2b0e-7d16-42ba-bb78-709e12fb71ac","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"546524fd-2c96-47ee-9c0d-820819e1adc4","type":"text/javascript","exec":[""]}}],"_postman_id":"e0ce43dd-236c-46de-b87d-d7fe91a32092"},{"name":"Event Code Objects","item":[],"id":"fec817fd-809c-4c5a-93c5-a89fc1f05783","description":"<p>Traffic Incident event codes are returned by the <a href=\"#a728b657-ebdc-4b11-86d4-058c19016da5\">Traffic Archive API</a> in the <code>messages[key]</code>.<code>versions[]</code>.<code>events[]</code> array of the <a href=\"#3ece002a-2809-420a-ba2f-69ab0af1a861\">Messages Object</a> and by the <a href=\"#f8308e55-31dd-4db1-8ba1-c326d0dd636e\">Event Code API</a>. In both cases a specific event is defined by a unique combination of an <em>id</em> and a <em>cat</em> value.</p>\n<p>    </p>\n<h4 id=\"event-code-object-returned-by-traffic-archive-api\">Event Code object returned by Traffic Archive API</h4>\n<p>Traffic Incident event codes are returned by the <a href=\"#a728b657-ebdc-4b11-86d4-058c19016da5\">Traffic Archive API</a> in the <code>messages[key]</code>.<code>versions[]</code>.<code>events[]</code> array. The object has the folowing format:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"events\": [\n        {\n            \"id\": 101,\n            \"cat\": 1,\n            \"quantType\": \"\",\n            \"quantValue\": -1\n        }\n    ]\n}\n</code></pre><p>    </p>\n<h4 id=\"event-code-object-returned-by-event-code-api\">Event Code object returned by Event Code API</h4>\n<p>Traffic Incident event codes returned by the <a href=\"#f8308e55-31dd-4db1-8ba1-c326d0dd636e\">Event Code API</a> have a different format. The following sample result demonstrates that a specific event can only be identified uniquely by combining <code>id</code> and <code>cat</code> values since two events are e.g. sharing an <code>id</code> of 203:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"eventCodeList\": [\n      {\n        \"id\": 203,\n        \"subcode\": [\n          {\n            \"cat\": 3,\n            \"text\": {\n              \"de\": [\n                \"Unfall mit mehreren Fahrzeugen\"\n              ]\n            },\n            \"type\": 2,\n            \"exp\": false\n          },\n          {\n            \"cat\": 50,\n            \"text\": {\n              \"de\": [\n                \"vorausgegangenes Ereignis\"\n              ]\n            },\n            \"type\": 2,\n            \"exp\": false\n          }\n        ]\n      }\n    ]\n}\n</code></pre><p>  </p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td>Defines a unique Traffic Event in combination with the <code>cat</code> value. Some  event objects share the same <code>id</code> and therefore can only be distinguished by their <code>cat</code> value.</td>\n</tr>\n<tr>\n<td><code>cat</code></td>\n<td>Defines a unique Traffic Event in combination with the <code>id</code> value.</td>\n</tr>\n<tr>\n<td><code>type</code></td>\n<td>Each Traffic Event is assigned to a higher order type with a value between <strong>1</strong> and <strong>10</strong>. See Event Type table below for details.</td>\n</tr>\n<tr>\n<td><code>exp</code></td>\n<td>If <strong>true</strong> this event qualifies for marking the entire traffic incident as expired.</td>\n</tr>\n<tr>\n<td><code>text</code></td>\n<td>Text description of the event. Currently available in German = <code>de</code> only.</td>\n</tr>\n<tr>\n<td><code>quantType</code></td>\n<td>For some messages the event object contains a quantifier. E.g. a <code>quantType</code> value of <strong>LEN</strong> and a <code>quantValue</code> of <strong>2</strong> specifies a length of 2 Kilometers and can therefore quantify  the length of a traffic congestion. For details see Quantifier table below.</td>\n</tr>\n<tr>\n<td><code>quantValue</code></td>\n<td>See <code>quantType</code> for details.</td>\n</tr>\n</tbody>\n</table>\n</div><p> <br />Event types as provided in <code>eventCodeList[]</code>.<code>subcode[]</code>.<code>type</code></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Type</th>\n<th>Description</th>\n<th></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Dangerous Situation</td>\n<td>Gefahr</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Traffic Accident</td>\n<td>Unfall</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Road Closure</td>\n<td>Sperrung</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Icy/unsafe road conditions</td>\n<td>Glätte</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Traffic Congestion</td>\n<td>Stau</td>\n</tr>\n<tr>\n<td>6</td>\n<td>Increased Traffic</td>\n<td>Staugefahr</td>\n</tr>\n<tr>\n<td>7</td>\n<td>Partial Road Closure</td>\n<td>Teilsperrung</td>\n</tr>\n<tr>\n<td>8</td>\n<td>Road Work</td>\n<td>Baustelle</td>\n</tr>\n<tr>\n<td>9</td>\n<td>Information</td>\n<td>Information</td>\n</tr>\n<tr>\n<td>10</td>\n<td>Cancellation Notice</td>\n<td>Störungsaufhebung</td>\n</tr>\n</tbody>\n</table>\n</div><p> <br />Event Quantifiers as provided in in the <code>messages[key]</code>.<code>versions[]</code>.<code>events[]</code>.<code>quantType</code></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Type</th>\n<th>Description</th>\n<th></th>\n<th>Unit</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>LEN</td>\n<td>Length affected</td>\n<td>Länge</td>\n<td>km</td>\n</tr>\n<tr>\n<td>Q09</td>\n<td>Limitation (e.g. width)</td>\n<td>Begrenzung (z.B. Breite)</td>\n<td>m</td>\n</tr>\n<tr>\n<td>VIS</td>\n<td>Visibility</td>\n<td>Sicht</td>\n<td>m</td>\n</tr>\n<tr>\n<td>Q00</td>\n<td>Amount</td>\n<td>Anzahl</td>\n<td></td>\n</tr>\n<tr>\n<td>WEI</td>\n<td>Vehicle weight</td>\n<td>Fahrzeuggewicht</td>\n<td>t</td>\n</tr>\n<tr>\n<td>SPM</td>\n<td>Mandatory speed limit</td>\n<td>Höchstgeschwindigkeit</td>\n<td>km/h</td>\n</tr>\n<tr>\n<td>SPV</td>\n<td>Speed reduction</td>\n<td>Geschwindigkeitsbegrenzung</td>\n<td>km/h</td>\n</tr>\n<tr>\n<td>HEI</td>\n<td>Vehicle height</td>\n<td>Fahrzeughöhe</td>\n<td>m</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"id":"b328f07d-0ceb-4f4b-a2f4-c3d1fa56d614","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"adcc2dd9-fe97-4258-ba03-0d605c52c016","type":"text/javascript","exec":[""]}}],"_postman_id":"fec817fd-809c-4c5a-93c5-a89fc1f05783"},{"name":"Location Objects","item":[],"id":"ca725936-df97-40dd-b624-b6514756006b","description":"<p>The encoding of location data provided by the Stau1 API is based on the official \"Location Code List\" (LCL) which is also used by <a href=\"https://de.wikipedia.org/wiki/Traffic_Message_Channel\">TMC Services</a>. The complete list is regularily updated and published by the Bundesanstalt für Straßenwesen. </p>\n<p>    </p>\n<h4 id=\"the-road-location-point-points-object\">The Road Location Point <code>points[]</code> object</h4>\n<p>The course of a road is described by a list of location points (e.g. intersections or highway exists). Road Location Points are contained in the <code>messages[key]</code>.<code>versions[]</code>.<code>points[]</code> object of the <a href=\"#a728b657-ebdc-4b11-86d4-058c19016da5\">Traffic Archive API</a> and within the <code>roads[]</code>.<code>points[]</code> array of <a href=\"#d4907fa4-8741-45ff-ae51-9fa53ee041bf\">Road Data API</a>. In both cases a location point object has the following format:  </p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"srcLocId\": 11260,\n  \"locId\": 7105.005,\n  \"type\": \"P1.3\",\n  \"name\": \"Duisburg-Beeck\",\n  \"roadName\": \"\",          \n  \"locState\": [\n    260\n  ],\n  \"locCity\": 391,\n  \"locCityDistrict\": 0,\n  \"locCountry\": 1,\n  \"locSection\": 7105,\n  \"locPrev\": 11261,\n  \"locNext\": 11259,\n  \"locIntersection\": [\n    17508,\n    11260\n  ],\n  \"locLeap\": 0,\n  \"existsPos\": 1,\n  \"existsNeg\": 1,\n  \"exitNumber\": \"5\",\n  \"geoCoords\": [\n    6.7323,\n    51.481\n  ]\n}\n</code></pre><p> </p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>srcLocId</code></td>\n<td>The unique ID of this location point as defined by the official Location Code List (LCL).</td>\n</tr>\n<tr>\n<td><code>locId</code></td>\n<td>A unique ID for this location issued by the Stau1 API. It allows for sorting an array of location points  of the same road in the correct order. Use the <code>messages[key]</code>.<code>versions[]</code>.<code>direction</code> element to determine  if points elements should be sorted in positive or negative order to match the <code>text.section</code> text.</td>\n</tr>\n<tr>\n<td><code>type</code></td>\n<td>Provides the location type (e.g. exit, intersection, service station etc.). Please see the location type table below for details.</td>\n</tr>\n<tr>\n<td><code>name</code></td>\n<td>Name of the location.</td>\n</tr>\n<tr>\n<td><code>roadName</code></td>\n<td>Road name of the location (optional).</td>\n</tr>\n<tr>\n<td><code>locState</code></td>\n<td>An array of <a href=\"#4dc3f6dc-9443-4153-86ab-76ee13a953ed\">Region Codes</a> the road point is located in.</td>\n</tr>\n<tr>\n<td><code>locCity</code></td>\n<td>The LCL code of the city this road point is located in.</td>\n</tr>\n<tr>\n<td><code>locPrev</code></td>\n<td>The <code>srcLocId</code> LCL code of the preceding location point. Equals <strong>0</strong> if this location point  marks the beginning of the road.</td>\n</tr>\n<tr>\n<td><code>locNext</code></td>\n<td>The <code>srcLocId</code> LCL code of the following location point. Equals <strong>0</strong> if this location point  marks the end of the road.</td>\n</tr>\n<tr>\n<td><code>locIntersection</code></td>\n<td>An array of LCL <code>srcLocId</code> which intersect the current location point.</td>\n</tr>\n<tr>\n<td><code>locLeap</code></td>\n<td>Usually equals <strong>0</strong> but it does contain the <code>srcLocId</code> of a distant location point in case the current road location point does not have a direct, subsequent location point (<code>locNext</code> = <strong>0</strong>) but the same  road is continued after a gap in its course. The <code>srcLodId</code> of the road point that continues the course of the road after the gap is provided in <code>locLeap</code>.</td>\n</tr>\n<tr>\n<td><code>existsPos</code></td>\n<td>Equals <strong>1</strong> if this location point does exist in the positive driving direction of this road.</td>\n</tr>\n<tr>\n<td><code>existsNeg</code></td>\n<td>Equals <strong>1</strong> if this location point does exist in the negative driving direction of this road.</td>\n</tr>\n<tr>\n<td><code>exitNumber</code></td>\n<td>Provides the exit number in case this location point represents an highway exit.</td>\n</tr>\n<tr>\n<td><code>geoCoords</code></td>\n<td>Longitude and latitude of the location on a map.</td>\n</tr>\n</tbody>\n</table>\n</div><p> <br />Location types as provided in <code>type</code></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Id</th>\n<th>Type</th>\n<th></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>P1.1</td>\n<td>Motorway intersection</td>\n<td>Autobahnkreuz</td>\n</tr>\n<tr>\n<td>P1.2</td>\n<td>Motorway triangle</td>\n<td>Autobahndreieck</td>\n</tr>\n<tr>\n<td>P1.3</td>\n<td>Motorway junction</td>\n<td>Anschlussstelle</td>\n</tr>\n<tr>\n<td>P1.4</td>\n<td>Motorway exit</td>\n<td>Autobahnausfahrt</td>\n</tr>\n<tr>\n<td>P1.5</td>\n<td>Motorway entrance</td>\n<td>Autobahneinfahrt</td>\n</tr>\n<tr>\n<td>P1.6</td>\n<td>Flyover</td>\n<td>Überführung</td>\n</tr>\n<tr>\n<td>P1.7</td>\n<td>Underpass</td>\n<td>Unterführung</td>\n</tr>\n<tr>\n<td>P1.8</td>\n<td>Roundabout</td>\n<td>Kreisverkehr</td>\n</tr>\n<tr>\n<td>P1.9</td>\n<td>Gyratory</td>\n<td>Kreisverkehr</td>\n</tr>\n<tr>\n<td>P1.10</td>\n<td>Traffic lights</td>\n<td>Ampelkreuzung</td>\n</tr>\n<tr>\n<td>P1.11</td>\n<td>Cross-roads</td>\n<td>Kreuzung</td>\n</tr>\n<tr>\n<td>P1.12</td>\n<td>T-junction</td>\n<td>Einmündung</td>\n</tr>\n<tr>\n<td>P1.13</td>\n<td>Intermediate Node</td>\n<td>Übergang</td>\n</tr>\n<tr>\n<td>P1.14</td>\n<td>Connection</td>\n<td>Verbindungsstraße</td>\n</tr>\n<tr>\n<td>P1.15</td>\n<td>Exit</td>\n<td>Anschlussstelle</td>\n</tr>\n<tr>\n<td>P3.1</td>\n<td>Tunnel</td>\n<td>Tunnel</td>\n</tr>\n<tr>\n<td>P3.2</td>\n<td>Bridge</td>\n<td>Brücke</td>\n</tr>\n<tr>\n<td>P3.3</td>\n<td>Service Area</td>\n<td>Raststätte</td>\n</tr>\n<tr>\n<td>P3.4</td>\n<td>Rest Area</td>\n<td>Rastplatz</td>\n</tr>\n<tr>\n<td>P3.5</td>\n<td>View Point</td>\n<td>Aussichtspunkt</td>\n</tr>\n<tr>\n<td>P3.6</td>\n<td>Car Pool Point</td>\n<td>Carpool Parkplatz</td>\n</tr>\n<tr>\n<td>P3.7</td>\n<td>Park and Ride site</td>\n<td>P&amp;R Parkplatz</td>\n</tr>\n<tr>\n<td>P3.8</td>\n<td>Car park</td>\n<td>Parkplatz</td>\n</tr>\n<tr>\n<td>P3.9</td>\n<td>Kiosk</td>\n<td>Parkplatz mit Kiosk</td>\n</tr>\n<tr>\n<td>P3.10</td>\n<td>Rest Area</td>\n<td>Parkplatz mit WC</td>\n</tr>\n<tr>\n<td>P3.11</td>\n<td>Gas Station</td>\n<td>Tankstelle</td>\n</tr>\n<tr>\n<td>P3.12</td>\n<td>Gas Station</td>\n<td>Tankstelle</td>\n</tr>\n<tr>\n<td>P3.13</td>\n<td>Motel</td>\n<td>Motel</td>\n</tr>\n<tr>\n<td>P3.14</td>\n<td>Border station</td>\n<td>Grenzstation</td>\n</tr>\n<tr>\n<td>P3.15</td>\n<td>Customs post</td>\n<td>Zollstation</td>\n</tr>\n<tr>\n<td>P3.16</td>\n<td>Toll plaza</td>\n<td>Mautstation</td>\n</tr>\n<tr>\n<td>P3.17</td>\n<td>Ferry terminal</td>\n<td>Fähranleger</td>\n</tr>\n<tr>\n<td>P3.18</td>\n<td>Habour</td>\n<td>Hafen</td>\n</tr>\n<tr>\n<td>P3.19</td>\n<td>Square</td>\n<td>Platz</td>\n</tr>\n<tr>\n<td>P3.20</td>\n<td>Fair</td>\n<td>Festplatz</td>\n</tr>\n<tr>\n<td>P3.21</td>\n<td>Garage</td>\n<td>Parkhaus</td>\n</tr>\n<tr>\n<td>P3.22</td>\n<td>Garage</td>\n<td>Tiefgarage</td>\n</tr>\n<tr>\n<td>P3.23</td>\n<td>Shopping center</td>\n<td>Einkaufszentrum</td>\n</tr>\n<tr>\n<td>P3.24</td>\n<td>Theme park</td>\n<td>Freizeitpark</td>\n</tr>\n<tr>\n<td>P3.25</td>\n<td>Tourist attraction</td>\n<td>Sehenswürdigkeit</td>\n</tr>\n<tr>\n<td>P3.26</td>\n<td>University</td>\n<td>Universität</td>\n</tr>\n<tr>\n<td>P3.27</td>\n<td>Airport</td>\n<td>Flughafen</td>\n</tr>\n<tr>\n<td>P3.28</td>\n<td>Train station</td>\n<td>Bahnhof</td>\n</tr>\n<tr>\n<td>P3.29</td>\n<td>Hospital</td>\n<td>Krankenhaus</td>\n</tr>\n<tr>\n<td>P3.30</td>\n<td>Church</td>\n<td>Kirche</td>\n</tr>\n<tr>\n<td>P3.31</td>\n<td>Stadium</td>\n<td>Stadion</td>\n</tr>\n<tr>\n<td>P3.32</td>\n<td>Palace</td>\n<td>Schloss</td>\n</tr>\n<tr>\n<td>P3.33</td>\n<td>Castle</td>\n<td>Burg</td>\n</tr>\n<tr>\n<td>P3.34</td>\n<td>Town hall</td>\n<td>Rathaus</td>\n</tr>\n<tr>\n<td>P3.42</td>\n<td>Pass</td>\n<td>Pass</td>\n</tr>\n<tr>\n<td>P3.43</td>\n<td>Railroad crossing</td>\n<td>Bahnübergang</td>\n</tr>\n<tr>\n<td>P3.45</td>\n<td>Ferry</td>\n<td>Fähre</td>\n</tr>\n<tr>\n<td>P6.12</td>\n<td>Stadium</td>\n<td>Stadion</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"id":"3990b449-1817-4138-92c8-56e60f03e7c3","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"822d220c-2a0b-4e62-8b15-cb695e27801f","type":"text/javascript","exec":[""]}}],"_postman_id":"ca725936-df97-40dd-b624-b6514756006b"}],"id":"5e35de55-6b03-4e78-bfe3-e273f7dd5f07","description":"<p>Response to every request is sent in <a href=\"https://en.wikipedia.org/wiki/JSON\">JSON format</a> and API calls will respond with appropriate <a href=\"https://en.wikipedia.org/wiki/List_of_HTTP_status_codes\">HTTP status codes</a> for all requests.<br />Responses to successful API requests have the following format:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"status\": \"success\",\n    \"result\": {\n        /* a list of result objects and their children */\n    }\n}\n</code></pre><p> <br />In case the API request results in an error, the error is represented by an <code>error</code> object in the JSON response. All error codes and their meaning are listed in the <a href=\"#error-codes\">Error Codes</a> table.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"status\":\"error\",\n    \"error\":{\n        \"code\":\"E0006\",\n        \"message\":\"authorization failed\"\n    }\n}\n</code></pre><p> <br />All response objects described in the sections below are children of the <code>result</code> object returned by any successful API request.</p>\n","event":[{"listen":"prerequest","script":{"id":"5d020f61-98b5-4a38-98bb-c0049c897111","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"406ae413-e222-47d2-9cb8-b2877f36341f","type":"text/javascript","exec":[""]}}],"_postman_id":"5e35de55-6b03-4e78-bfe3-e273f7dd5f07"}],"event":[{"listen":"prerequest","script":{"id":"61d8c91a-38b9-4f8f-a835-9ca9e48f064c","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"84c3959f-d3e2-499c-a55a-6c2fffdb5e65","type":"text/javascript","exec":[""]}}]}