Traffic TPEG API Developer's Guide

Constructing 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.

Table 1. InitSession Request elements
Element Value/Example Description
Base URL
https://tpeg.cit.cc.api.here.com

Customer Integration environment[1]

Path
 /tpeg/1.0/
 
Resource
initsession

POST only, request parameters in the body.

Application Code
app_code={YOUR_APP_CODE}
Substitute your own unique app_code. Only for initsession.
Application Id
app_id={YOUR_APP_ID}
Substitute your own unique app_id.
Profile
profile={PROFILE}
Optional parameter. Substitute your own unique profile.

Based on the data received in InitSession response user application should build GetMessages request, see Getmessages Request.

[1] 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 us as described under Service Support.
  The Customer Integration environment is not intended for production use and HERE SLAs do not apply for this environment!