Skip to main content

GET /logistics/vrp/2.0.0/status

OpenAPI Specification

2GIS Navigation API (6.0.0)

Algorithms

Task status and solution

Get the status of the task and the solution if it is available

query Parameters
task_id
required
string

Task ID

key
required
string

Developer API key

Responses

Response Schema: application/json
task_id
required
string

Task identifier

required
object

Task status

RoutingResult (object) or null

Result

Response samples

Content type
application/json
{
  • "task_id": "string",
  • "status": {
    • "status": "Run",
    • "queued": "string",
    • "started": "string",
    • "matrix_downloaded": "string",
    • "calculated": "string",
    • "completed": "string"
    },
  • "result": {
    • "metrics": {
      },
    • "options": {
      },
    • "routes": [
      ],
    • "dropped_waypoints": [
      ],
    • "dropped_agents": [
      ]
    }
}