Send a getmessages request
getmessages
request parameters are passed in the POST request XML body, which must conform to the getmessages
request XSD. Common request parameters are listed in the following table:
Parameter | Description |
---|---|
locations | Occurs once as a child of get-messages . |
loc | Occurs at least once.
|
Authorization | Using app_id and app_code : Using apiKey : For instructions on how to use token authorization, see https://developer.here.com/documentation/authentication/dev_guide/topics/token.html. Note: The base URL for token authorization is https://tpeg.traffic.ls.hereapi.com |
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" ?>
<get-messages>
<locations>
<loc lat="52.55121" lon="13.16565"/>
</locations>
</get-messages>
getmessages response
All getmessages
responses are in the binary format. For more information, see the TPEG specification.