Large Requests

If you provide more than 200 locations, the Optimization API will process the request asynchronously. It will respond with a job ID and URI that can be used to retrieve the input, which takes the same response structure as other calls.

Sample Request

{
    "locations": [...a-very-large-set-of-locations...],
    "vehicle": {
        "type": "car"
    }
}

Sample Response

{
    "JobId": "matrix-123456789",
    "JobMessage": "Check status by : GET /mare/matrix/?jobid=matrix-123456789",
    "JobStatus": "Accepted"
}