Suggest
Changed onReturns the ranked insertion options for a single unassigned job.
Exactly one job in jobs may be left unassigned - that is the job being suggested. Every other job must carry initialResource (and normally initialArrival) to describe the schedule the new job is inserted into. Alternatively, one whole job relation may be unassigned, in which case every job named by that relation is left without initialResource. Any other combination is rejected.
Note that initialArrival is a sequencing hint, not a pin: the solver re-times already assigned jobs as early as the shift allows. Use windows on a job to hold a committed time.
Request
- Base URLhttps://api.solvice.io
- URLhttps://api.solvice.io/v2/vrp/suggest
- AuthAPI key in header Authorization
Query parameters
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