GET /async_matrix/result/get_dist_matrix/{task_id}
OpenAPI Specification
2GIS Navigation API (6.0.0)
Getting Distance Matrix API task status
Getting Distance Matrix API task status
path Parameters
task_id required | string Task ID |
query Parameters
key required | string Developer API key |
Responses
Response Schema: application/json
string or null Task ID | |
string or null Additional information about the task status | |
integer or null Status code | |
TaskStatus (string) or null | |
string or null Link to the solution file |
Response Schema: application/json
Array of DMAsyncValidationError (objects) or null Error description |
http://routing.api.2gis.com/async_matrix/result/get_dist_matrix/{task_id}
https://routing.api.2gis.com/async_matrix/result/get_dist_matrix/{task_id}
Response samples
- 200
- 422
Content type
application/json
{- "task_id": "string",
- "message": "string",
- "code": 0,
- "status": "TASK_CREATED",
- "result_link": "string"
}