Authorizations
Api Key based authentication (apikey)
Path Parameters
Response
Status
Explains the conflicts of a certain routing solution and the unresolved constraints.
Score of the solution.
Conflicts in the solution
Examples:
{
"constraint": "TIME_WINDOW_CONFLICT",
"score": "-1000",
"job": "Job-1",
"resource": "vehicle-1"
}
Unresolved constraints in the solution
Examples:
{
"constraint": "TRAVEL_TIME",
"score": "-1500"
}
When options.explanation.enabled
is set to true
, this field will contain the alternatives for the solution.The key is the job name and the value is the list of assignments. Each assignment contains the resource, the date, and the score. In this way, you can check the impact of the alternative on the score.
Examples:
{
"Job-1": [
{
"job": "Job-1",
"resource": "vehicle-2",
"suggestedArrival": "2023-01-13T09:30:00Z",
"latestArrival": "2023-01-13T10:00:00Z",
"executedAfter": "Job-0",
"score": {
"hard": 0,
"soft": -1500,
"feasible": true
}
}
]
}