Construct a request
A request to the Traffic TPEG API includes the basic elements shown in the following tables and, in addition, it may contain resource-specific parameters in the request body.
Element | Value/Example | Description |
---|---|---|
Base URL | | Customer Integration environment1 |
Path | | |
Resource | | POST only, request parameters in the body. |
Profile | | Optional parameter. Substitute your own unique profile . |
Authorization | Using app_id and app_code : Using apiKey : For instructions on how to use token authorization, see the Identity & Access Management Developer Guide. Note: The base URL for token authorization is https://tpeg.traffic.ls.hereapi.com. | Authorization is required. Substitute your own unique app_id , app_code , apiKey or token values. For more information on available authentication options, see the Identity & Access Management Developer Guide. |
Based on the data received in the initsession response, your application should build a GetMessages request. For more information, see Send a getmessages request.
The Customer Integration environment (CIT) allows you to test your software against a special dedicated endpoint. Note that application id and application code for CIT environment are different from the ones used in Production environment. In case of questions, please contact your HERE support representative.
The Customer Integration environment is not intended for production use and HERE SLAs do not apply for this environment!