POST
/
v2
/
vrp
/
evaluate
curl --request POST \
  --url https://api.solvice.io/v2/vrp/evaluate \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "jobs": [
    {
      "name": "1",
      "duration": 3600
    },
    {
      "name": "2",
      "duration": 3600
    }
  ],
  "resources": [
    {
      "name": "1"
    }
  ]
}'
{
  "id": "<string>",
  "status": "ERROR",
  "solveDuration": 123,
  "errors": [
    {
      "code": 123,
      "message": "<string>"
    }
  ],
  "warnings": [
    {
      "code": 123,
      "message": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Api Key based authentication (apikey)

Body

application/json

OnRoute Request for solving, evaluating

Response

200 - application/json
OK

Status of a solve job