while trying to exchange xServer by Developer at one of our customers, I have to implement the following requirement:
calculate the times and distances again for an existing tour, respecting the time slots for all locations.
So I call the Optiflow API with the same data as for the initial optimization, but pass the current sequence as route. To achieve that Optiflow doesn't change the sequence, I use the respectedSequences and suitable categories in the tasks.
I then get the following result:
Code: Select all
{
"traceId": "prod_e8dd70d1577dce418fa28e746ac3dff9",
"description": "A product-specific restriction is exceeded.",
"errorCode": "ROUTE_OPTIMIZATION_RESTRICTION_EXCEEDED",
"causes": [
{
"description": "The request is not allowed to contain routes.",
"errorCode": "ROUTE_OPTIMIZATION_ROUTES_FORBIDDEN",
"parameter": "$.routes",
"details": {}
}
],
"details": {}
}