The Link to Route Planner Service provides a simple interface to prepopulate the Route Planner form with addresses and notes from any website or application.
Link to Route Planner supports four different methods of connecting to the Route Planner application. Using any of these methods you could have your website or application prepopulate the Route Planner application form with addresses and notes from your website or application.
"json"
,through HTTP POST request.
"xml"
, through HTTP POST request.
"copypaste"
through HTTP POST request.
Request Parameter | Request Parameter Value | Description |
---|---|---|
format | json | If format mentioned in the post url is json, all the route addresses and
corresponding notes will be accepted via JSON-formated text with key
"json" |
xml | If format mentioned in the post url is json, all the route addresses and
corresponding notes will be accepted via XML-formated text with key
"xml" |
|
copypaste | If format mentioned in the post url is 'copypaste', all the route addresses will be
accepted in text format with key "copypaste" |
|
form | All route addresses are supplied via request parameters through HTTP POST request |
This is the recommended format to be used if your website or application has Routing addresses and notes that are not stored in a single form. You can programmatically pull the addresses and notes and build a JSON object as specified and submit the same to the Route Planner Application as described below.
This is the recommended format to be used if your website or application has Routing addresses and notes that are not stored in a single form. You can programatically pull the addresses and notes and build a XML formatted string as specified and submit the same to the Route Planner Application as described below.
This is the easiest way in which you can connect to the Route Planner Application. In this method you can add a simple form to your website or application which has a single textarea where users can paste/enter addresses. Please note that you will have to inform the users that each address will have to be entered in a separate line. This method does not support notes for stops.