Street Route:Batch JSON: Difference between revisions
Jump to navigation
Jump to search
m Admin moved page Street Route:JSON to Street Route:Batch JSON without leaving a redirect |
No edit summary |
||
Line 15: | Line 15: | ||
==Request Body== | ===Request Body=== | ||
A maximum of up to 100 records per request can be sent. | A maximum of up to 100 records per request can be sent. | ||
Revision as of 17:55, 6 August 2018
Street Route Navigation | ||||
---|---|---|---|---|
| ||||
| ||||
| ||||
| ||||
Sample Code |
JSON Batch Request
Request Header
Host: streetroute.melissadata.net Connection: Keep-Alive Content-Type: application/json; charset=utf-8
Request Body
A maximum of up to 100 records per request can be sent.
{ "CustomerID": "string", "TransmissionReference": "string", "Units": "string", "Records": [ { "RecordID": "string", "StartLatitude": "string", "StartLongitude": "string", "EndLatitude": "string", "EndLongitude": "string" }, { "RecordID": "string", "StartLatitude": "string", "StartLongitude": "string", "EndLatitude": "string", "EndLongitude": "string" }, { ... } ] }
JSON Response
{ "Version": "string", "Units": "string", "TransmissionReference": "string", "TransmissionResult": "string", "TotalRecords": "string", "Records": [ { "RecordID": "string", "Results": "string", "TravelTime": "string", "TotalDrivingDistance": "string" }, { "RecordID": "string", "Results": "string", "TravelTime": "string", "TotalDrivingDistance": "string" }, { ... } ] }