Solve
Changed onWill trigger the solver run asynchronously.
Request
- Base URLhttps://api.solvice.io
- URLhttps://api.solvice.io/v2/vrp/solve
- AuthAPI key in header Authorization
Query parameters
Headers
Request body
Example request
{
"jobs": [
{
"name": "1",
"duration": 3600,
"initialResource": "1",
"initialArrival": "2023-01-13T09:00:00"
},
{
"name": "2",
"duration": 3600
}
],
"resources": [
{
"name": "1",
"shifts": [
{
"from": "2023-01-13T08:00:00",
"to": "2023-01-13T17:00:00"
}
]
}
]
}Response
Status
Example response
{
"status": "SOLVING"
}Changes
- breaking
the
queryrequest parametermillisbecame required - breaking
added the pattern
^(?!.*\$\{)[^<>"';\\\x00]*$to the request propertyjobs/items/initialResource - breaking
added the pattern
^(?!.*\$\{)[^<>"';\\\x00]*$to the request propertyjobs/items/plannedResource - breaking
added the pattern
^(?!.*\$\{)[^<>"';\\\x00]*$to the request propertyjobs/items/proficiency/items/resource - breaking
added the pattern
^(?!.*\$\{)[^<>"';\\\x00]*$to the request propertyrelations/items/resource - warning
the
//request property's maxLength was set to255 - warning
the
//request property's maxLength was set to255 - warning
the
////request property's maxLength was set to255 - warning
the
//request property's maxLength was set to255 - warning
changed the pattern of the request property
//from^(?!.*\$\{)[^<>"';\\]*$to^(?!.*\$\{)[^<>"';\\\x00]*$ - warning
changed the pattern of the request property
////from^(?!.*\$\{)[^<>"';\\]*$to^(?!.*\$\{)[^<>"';\\\x00]*$ - warning
changed the pattern of the request property
////from^(?!.*\$\{)[^<>"';\\]*$to^(?!.*\$\{)[^<>"';\\\x00]*$ - warning
changed the pattern of the request property
//from^(?!.*\$\{)[^<>"';\\]*$to^(?!.*\$\{)[^<>"';\\\x00]*$ - info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
// - info
added the new optional request property
- info
added the new optional request property
///// - info
added the new optional request property
////////// - info
added the new optional request property
////////// - info
added the new optional request property
////////// - info
added the new optional request property
///// - info
added the new optional request property
// - info
added the new optional request property
//// - info
added the new optional request property
//// - info
added the new optional request property
//// - info
added the new optional request property
///// - info
added the new optional request property
///// - info
added the new optional request property
///// - info
added the new optional request property
///// - info
added the new optional request property
///// - info
added the new optional request property
///// - info
added the new optional request property
///// - info
added the new optional request property
///// - info
added the new optional request property
///// - info
the request property
//became optional - info
added the new
DUTYenum value to the request property////// - info
added the new
TOMTOM_REAL_TIMEenum value to the request property///////// - info
the response property
//became required for the status - info
the response property
//became required for the status
- breaking
- warning
the
//request property's min was set to0.00 - warning
changed the pattern of the request property
//from^[^<>"';\\]*$to^(?!.*\$\{)[^<>"';\\]*$ - warning
changed the pattern of the request property
////from^[^<>"';\\]*$to^(?!.*\$\{)[^<>"';\\]*$ - warning
changed the pattern of the request property
////from^[^<>"';\\]*$to^(?!.*\$\{)[^<>"';\\]*$ - warning
changed the pattern of the request property
//from^[^<>"';\\]*$to^(?!.*\$\{)[^<>"';\\]*$
- warning