Traffic TPEG API Developer's Guide

Send a getmessages request

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

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.
Using app_id and app_code:
Using apiKey:
For instructions on how to use token authorization, see
Note: The base URL for token authorization is

Example request body

All getmessages requests must be preceded by an initsession request and must be encrypted as described in Get started.

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

getmessages response

All getmessages responses are in the binary format. For more information, see the TPEG specification.