GET
/
cube
/
{id}
/
response
/
url
curl --request GET \
  --url https://routing.solvice.io/cube/{id}/response/url \
  --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
      ]
    }
  ],
  "coordinates": [
    [
      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 through the signed url.

The order of the distances and coefficients array is the same as the order of the sources and destinations in the request.

Authorizations

Authorization
string
header
required

API key authentication. Use format 'API_KEY'

Path Parameters

id
integer
required

Table request id.

Response

302 - application/json

Redirect to table response in Cloud Storage

Cube Response