Skip to main content
GET
/
table
/
{id}
/
response
Get Response
curl --request GET \
  --url https://routing.solvice.io/table/{id}/response \
  --header 'Authorization: <api-key>'
{
  "tableId": 123,
  "durations": [
    [
      123
    ]
  ],
  "distances": [
    [
      123
    ]
  ],
  "sources": [
    {
      "hint": "<string>",
      "distance": 123,
      "name": "<string>",
      "location": [
        123
      ]
    }
  ],
  "destinations": [
    {
      "hint": "<string>",
      "distance": 123,
      "name": "<string>",
      "location": [
        123
      ]
    }
  ]
}
Get the actual matrix results. The order of the distances/durations is the same as the order of the sources and destinations in the request.

Authorizations

Authorization
string
header
required

Api Key based authentication (apikey)

Path Parameters

id
integer<int64>
required

Table request id.

Response

200 - application/json

Get table response

Table Response

tableId
integer<int64>

Table response id. Not to be confused with table request id.

durations
number<double>[][] | null

Time distance matrix. In order of sources to destinations indexes in request.

distances
number<double>[][] | null

Distance matrix. In order of sources to destinations indexes in request.

sources
object[] | null

Actual sources snapped to map.

destinations
object[] | null

Actual destinations snapped to map.