Street Route:REST JSON: Difference between revisions
Jump to navigation
Jump to search
Created page with "{{StreetRouteNav |ExampleCollapse= }} {{CustomTOC}} ==REST Request== <pre> https://streetroute.melissadata.net/WEB/StreetRoute/getDistance ?t={Transmission Reference} &id={..." |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 8: | Line 8: | ||
==REST Request== | ==REST Request== | ||
<pre> | <pre> | ||
https://streetroute.melissadata.net/WEB/StreetRoute/getDistance | https://streetroute.melissadata.net/v1/WEB/StreetRoute/getDistance | ||
?t={Transmission Reference} | ?t={Transmission Reference} | ||
&id={License Key} | &id={License Key} | ||
Line 22: | Line 22: | ||
<pre> | <pre> | ||
{ | { | ||
"Version": "string", | |||
"Units": "string", | |||
"TransmissionReference": "string", | |||
"TransmissionResult": "string", | |||
"Records": [ | |||
{ | |||
"RecordID": "string", | |||
"Results": "string", | |||
"TravelTime": "string", | |||
"TotalDrivingDistance": "string" | |||
} | |||
] | |||
} | } | ||
</pre> | </pre> |
Latest revision as of 19:34, 6 August 2018
Street Route Navigation | ||||
---|---|---|---|---|
| ||||
| ||||
| ||||
| ||||
Sample Code |
REST Request
https://streetroute.melissadata.net/v1/WEB/StreetRoute/getDistance ?t={Transmission Reference} &id={License Key} &startLatitude={Start Latitude} &startLongitude={Start Longitude} &endLatitude={End Latitude} &endLongitude={End Longitude} &units={Units}
JSON Response
{ "Version": "string", "Units": "string", "TransmissionReference": "string", "TransmissionResult": "string", "Records": [ { "RecordID": "string", "Results": "string", "TravelTime": "string", "TotalDrivingDistance": "string" } ] }