Traffic TPEG API Developer's Guide

Getmessages Request

All getmessages request parameters are passed in the POST request XML body, which must conform to the getmessages request XSD.
Note: All Getmessage requests are encrypted and decrypted as described in Quick Start.

Common request parameters are listed in the following table:

Table 1. Request Parameters
Parameter Description
locations Occurs once as a child of get-messages.
loc Occurs at least once.
  • @lat: Latitude as five digit precision floating point.
  • @lon: Longitude as five digit precision floating point.

Example Request Body

All getmessages requests be preceeded by an initsession request and must be encrypted as described in Retrieving traffic information.


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

Getmessages Response

All getmessages responses are in binary format, consult the TPEG specification for details.