Explanation
Changed onContains the explanation, once solved.
Request
- Base URLhttps://api.solvice.io
- URLhttps://api.solvice.io/v2/vrp/jobs/{id}/explanation
- AuthAPI key in header Authorization
Path parameters
Response
Status
Example response
{
"score": {
"hardScore": -2000,
"mediumScore": 0,
"softScore": -15000,
"feasible": false
},
"conflicts": [
{
"constraint": "TIME_WINDOW_CONFLICT",
"score": "-1000",
"job": "Job-1",
"resource": "vehicle-1"
},
{
"constraint": "TAG_HARD",
"score": "-1000",
"job": "Job-2",
"resource": "vehicle-1",
"tag": "electrical"
}
],
"unresolved": [
{
"constraint": "TRAVEL_TIME",
"score": "-15000"
}
],
"alternatives": {
"Job-1": [
{
"job": "Job-1",
"resource": "vehicle-2",
"suggestedArrival": "2023-01-13T09:30:00Z",
"latestArrival": "2023-01-13T10:00:00Z",
"executedAfter": "Job-0",
"score": {
"hardScore": 0,
"mediumScore": 0,
"softScore": -1500,
"feasible": true
}
}
]
}
}Changes
- warning
added the new
DEPOT_CAPACITYenum value to the/response property for the response status - warning
added the new
DEPOT_CAPACITYenum value to the//response property for the response status - warning
added the new
DEPOT_COSTenum value to the/response property for the response status - warning
added the new
DEPOT_COSTenum value to the//response property for the response status - warning
added the new
DEPOT_TIME_WINDOWenum value to the/response property for the response status - warning
added the new
DEPOT_TIME_WINDOWenum value to the//response property for the response status - warning
added the new
END_DEPOTenum value to the/response property for the response status - warning
added the new
END_DEPOTenum value to the//response property for the response status - warning
added the new
LOAD_COMPATIBILITYenum value to the/response property for the response status - warning
added the new
LOAD_COMPATIBILITYenum value to the//response property for the response status - warning
added the new
MAX_DRIVE_DISTANCEenum value to the/response property for the response status - warning
added the new
MAX_DRIVE_DISTANCEenum value to the//response property for the response status - warning
added the new
SAME_DAYenum value to the/response property for the response status - warning
added the new
SAME_DAYenum value to the//response property for the response status - info
added the optional property
to the response with the status
- warning
- warning
added the new
GROUP_SEQUENCEenum value to the/response property for the response status - warning
added the new
GROUP_SEQUENCEenum value to the//response property for the response status - warning
added the new
JOB_PROXIMITYenum value to the/response property for the response status - warning
added the new
JOB_PROXIMITYenum value to the//response property for the response status
- warning