Route Match Extension API Developer's Guide

Constructing a Request

A typical request to the Route Match Extension API includes the basic elements shown in the following table and, in addition, it may contain resource-specific parameters or data.

Table 1. Basic Request Elements
Element Value/Example Description
Base URL

https://rme.api.here.com

https://rme.cit.api.here.com

Production environment only

Customer Integration Testing (CIT) environment only

For more information about the available environments, see Customer Integration Testing.

Path /2/  
Resource matchroute  
Application Id &app_id={YOUR_APP_ID} Substitute your own unique app_id
Application Code &app_code={YOUR_APP_CODE} Substitute your own unique app_code
This example search request uses HTTP GET to get the most probable route for a small GPS trace (zipped and Base64-encoded CSV file):
https://rme.cit.api.here.com/2/matchroute.json
        ?app_id={YOUR_APP_ID}
        &app_code={YOUR_APP_CODE}
        &routemode=car
        &file=UEsDBBQAAAAIANmztEQSwaeZzwAAAM8BAAAQAAAAc2FtcGxlLXRyYWNlLmdweIXPTQuCM
        BwG8HufQnZv%2F605S0k9djEIungdZjpSJ27kPn6%2BRBgYXcYYv2cPzzG2deU8805L1YSIYoLiaHMs
        Wvv9uBlYowOrZYhKY9oAoO973DOsugJ2hFBIz8k1K%2FNabGWjjWiy%2FJ36ShjVqqITd2lxpmo4XVK
        gMP6vZaCneKIyYabivzHnr4BhCbb6hoZRpnvMp86L%2BdIapxImRJxiSuh%2Bj5xq7CWY%2Bcz1Eayp
        A10qxlfVjvOl8rxVxfzDQrk%2FFCfLRs7YpOCzA%2BZd49LoBVBLAQIUABQAAAAIANmztEQSwaeZzwA
        AAM8BAAAQAAAAAAAAAAEAIAAAAAAAAABzYW1wbGUtdHJhY2UuZ3B4UEsFBgAAAAABAAEAPgAAAP0AAA
        AAAA%3D%3D