GET
/
table
/
{id}
/
response
Get Response
curl --request GET \
  --url https://routing.solvice.io/table/{id}/response \
  --header 'Authorization: <api-key>'
{
  "destinations": [
    {
      "hint": "eX5AgduYjYYsAAAAlAAAAHIAAAAAAAAAxBf6QX7HzELIz51CAAAAACwAAACUAAAAcgAAAAAAAAAVtwAAlMNKAIj__QKgxEoAwP39AgEAXwRPrDVe",
      "distance": 54.20808645369059,
      "name": "Avenue de la Restauration",
      "location": [
        4.899732,
        50.200456
      ]
    },
    {
      "hint": "o_v2gPMxk4KXAAAAQwAAAJsAAADWAwAA4YOXQ0HtBEOh05pDGnn1RJcAAABDAAAAmwAAANYDAAAVtwAAEyhJAG0BAQMAPkkAAAsBAwMAXxRPrDVe",
      "distance": 483.4921257061384,
      "name": "Route des Trois Communes",
      "location": [
        4.794387,
        50.397549
      ]
    },
    {
      "hint": "WvwMgrAseoRNAAAAAAAAALwAAAAAAAAAvYZVQgAAAAAK0AFDAAAAAE0AAAAAAAAAvAAAAAAAAAAVtwAAI1ZMAPmtCANAS0wAIKwIAwYAXw9PrDVe",
      "distance": 202.89814553989248,
      "name": "Wittebos",
      "location": [
        5.002787,
        50.900473
      ]
    },
    {
      "hint": "GtVBggTgEIkDAAAADwAAAMUAAAAAAAAAbWKjQHMstUHaEZlDAAAAAAMAAAAPAAAAxQAAAAAAAAAVtwAA-Q5NAN2rCAOQDk0AIKwIAwsAHw5PrDVe",
      "distance": 10.496399718824598,
      "name": "Tiensestraat",
      "location": [
        5.050105,
        50.899933
      ]
    }
  ],
  "durations": [
    [
      0,
      1976.1,
      5772.3,
      5642.6
    ],
    [
      2010.2,
      0,
      4783.9,
      4654.2
    ],
    [
      5817.2,
      4797.4,
      0,
      508.6
    ],
    [
      5705.3,
      4685.5,
      530.2,
      0
    ]
  ],
  "sources": [
    {
      "hint": "eX5AgduYjYYsAAAAlAAAAHIAAAAAAAAAxBf6QX7HzELIz51CAAAAACwAAACUAAAAcgAAAAAAAAAVtwAAlMNKAIj__QKgxEoAwP39AgEAXwRPrDVe",
      "distance": 54.20808645369059,
      "name": "Avenue de la Restauration",
      "location": [
        4.899732,
        50.200456
      ]
    },
    {
      "hint": "o_v2gPMxk4KXAAAAQwAAAJsAAADWAwAA4YOXQ0HtBEOh05pDGnn1RJcAAABDAAAAmwAAANYDAAAVtwAAEyhJAG0BAQMAPkkAAAsBAwMAXxRPrDVe",
      "distance": 483.4921257061384,
      "name": "Route des Trois Communes",
      "location": [
        4.794387,
        50.397549
      ]
    },
    {
      "hint": "WvwMgrAseoRNAAAAAAAAALwAAAAAAAAAvYZVQgAAAAAK0AFDAAAAAE0AAAAAAAAAvAAAAAAAAAAVtwAAI1ZMAPmtCANAS0wAIKwIAwYAXw9PrDVe",
      "distance": 202.89814553989248,
      "name": "Wittebos",
      "location": [
        5.002787,
        50.900473
      ]
    },
    {
      "hint": "GtVBggTgEIkDAAAADwAAAMUAAAAAAAAAbWKjQHMstUHaEZlDAAAAAAMAAAAPAAAAxQAAAAAAAAAVtwAA-Q5NAN2rCAOQDk0AIKwIAwsAHw5PrDVe",
      "distance": 10.496399718824598,
      "name": "Tiensestraat",
      "location": [
        5.050105,
        50.899933
      ]
    }
  ]
}
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
required

Table request id.

Response

200 - application/json

Get table response

Table Response

tableId
integer

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

durations
number[][] | null

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

distances
number[][] | 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.