Traffic TPEG API Developer's Guide

Getmessages Proximity Example

All getmessages requests be preceeded by an initsession request (which contains the Getmessage URL) and must be encrypted as described in Retrieving traffic information. The following request body shows a request for traffic information around the the point defined by latitude 48.13322 and longitude 11.58318. The radius is defined in the initsession request.


<?xml version="1.0" encoding="UTF-8" ?>
<get-messages>
     <locations>
        <loc lat="48.13322" lon="11.58318"/>
     </locations>
</get-messages>