Download OpenAPI specification:
Welcome to the adiutaOpt API documentation!
This document specifies all endpoints and schema requirements. If you notice an error, please contact us.
The typical process of an optimization request looks as follows:
The overview site can be found here.
A string consisting of three parts following the pattern "YYYY-MM-DD":
While the schema does not check for validity, the optimization algorithms do. Including invalid dates (e.g. 2020-02-31) leads to a validation error.
Examples:
"2020-04-10"A string of either format "hh:mm" or "-hh:mm":
Times are always interpreted relative to a date in the same object as the Time field. This allows times to exceed 24h or even become negative, as the value gets "added" to midnight of the date. For example, the following times applied to the respective date (in Date format) are equivalent:
"07:25"Values are:
3A version consisting of the date of release [0-9]{4}-[0-9]{2}-[0-9]{2}_[0-9]+, which can have a patch suffix p[0-9]+.
"1970-01-01_0p0"See https://semver.org/ for a full description of semantic versioning. The regex here is a subset of allowed semantic versions.
"v1.2.3"The authentication is performed via AWS Cognito (Developer-Guide). It is recommended to use one of the SKDs provided by AWS to simplify the authentication process considerably. Examples for SDKs:
Authentication provides three tokens: the access-token, the ID-token and the refresh-token. All three are JSON Web Tokens.
Authorization: 'ID-token'
auth_time) and when it will expire (exp). Currently, an ID-token expires after one hour and requests with expired ID-tokens are rejected automatically. You can get a new ID-token by using the refresh-token without having to re-enter your credentials.const user = ""; // your username const pw = ""; // your password const userPoolID = ""; // UserPoolID, see configuration details const clientID = ""; // ClientId, see configuration details const AmazonCognitoIdentity = require('amazon-cognito-identity-js'); module.exports.login = () => new Promise((resolve, reject) => { const userPool = new AmazonCognitoIdentity.CognitoUserPool({ UserPoolId: userPoolID, ClientId: clientID }); const authenticationDetails = new AmazonCognitoIdentity.AuthenticationDetails({ Username: user, Password: pw, }); const cognitoUser = new AmazonCognitoIdentity.CognitoUser({ Username: user, Pool: userPool }); cognitoUser.authenticateUser(authenticationDetails, { onSuccess: function (result) { const token = result.getIdToken().getJwtToken(); resolve(token); }, onFailure: function (err) { reject(); } }); })
Post a request to be solved.
If a new optimization request was received and was successfully processed, the endpoint will return 201 and the key with which the solution can be retrieved. This does not mean that calculating a solution will succeed, as logic errors, invalid ids and many other checks are performed later - these kinds of issues will result in an ErrorPlan, retrievable from the solution endpoint. Only schema violations are being checked in this request, they will result in the request being rejected with code 422.
Usually, if an optimization request was received but an identical request was already posted before, the endpoint will return 200 and the key with which the solution can be retrieved, which is identical to the key from the earlier request. This is not the case for certain errors which allow a repeat request (marked by the allowRepeat property of an ErrorPlan). Repeats for such requests are allowed after a certain amount of time has passed, trying to post before this cooldown has expired will result in rejection (code 429) where the retry-after header contains the remaining time in seconds until the request will be accepted again. If the repeat request was accepted, the endpoint returns code 201 and a new key to get the solution with.
Request to this endpoint have a content size limit which depends on the used content-type. Requests with content-type: application/json must contain a "plain-text" json payload which must be less than 6Mb in size. For sending larger requests, you must use content-type: application/vnd.adiutabyte.adiutaopt.json+[gzip,deflate,br]. These requests must contain the json data, compressed with gzip, deflate (zlib) or brotli, the payload size limit is 4.5Mb for the compressed data.
required | "application/json" (string) or "application/vnd.adiutabyte.adiutaopt.json+gzip" (string) or "application/vnd.adiutabyte.adiutaopt.json+deflate" (string) or "application/vnd.adiutabyte.adiutaopt.json+br" (string) The |
| adiutaopt-version | string (optional) A specific version to process the request under. Valid versions can be retrieved with the /packages-list endpoint ( Using a specific version is not recommended for "general" application but for testing, debugging or other developer actions. Versions represent a specific state of the application, they cannot be changed, bug-fixed or extended in any way. For that reason, support for these requests may be limited. |
object (Client) Contains information about the client which sends this request. | |
required | object (FloorPlannerMeta) Meta information about what to consider in the optimization. |
required | object (FloorPlannerOptimizationParameters) Parameters for the optimizer. |
required | Array of objects (FloorPlannerInputTask) Array of tasks to be planned by the optimizer. |
required | Array of objects (FloorPlannerInputWorker) Array of available workers. |
object (FloorPlannerHistory) History data the optimizer can learn from to apply to the current request. History analysis is done differently for each of our customers, if you know what issues you want to address/ what results you want to see from such methods, please contact us so we can set up a solution. | |
| recovery | Array of integers (IDReferences) [ items [ 0 .. 2147483647 ] ] Deprecated List of ids. |
object (DeveloperOptions) Options for developers. Do not use! |
Basic blueprint for an optimization data set
{- "meta": {
- "dateFrom": "2019-12-03",
- "dateTo": "2019-12-03",
- "accuracyMode": 1
}, - "parameters": { },
- "tasks": [
- {
- "date": "2019-12-03",
- "duration": 60,
- "taskID": 200,
- "timeEarliest": "0:00",
- "timeLatest": "24:00"
}, - {
- "date": "2019-12-03",
- "duration": 60,
- "taskID": 201,
- "timeEarliest": "0:00",
- "timeLatest": "24:00"
}, - {
- "date": "2019-12-03",
- "duration": 60,
- "taskID": 202,
- "timeEarliest": "06:00",
- "timeLatest": "12:00"
}
], - "workers": [
- {
- "workerID": 1,
- "shiftDate": "2019-12-03",
- "shiftStart": "06:00",
- "shiftEnd": "20:00"
}
]
}"VGVzdEtleUZvckFQSURvY3VtZW50YXRpb24uYXNk=="Retrieve the solution from this endpoint with the key you got when posting the request. The solution can either be a solved request or an ErrorPlan.
Responses from this endpoint have a content size limit which depends on the used content-type of the response, which can be specified with the accept header. If the response size would exceed that limit, the endpoint returns code 409 instead. Responses of type application/json can include payloads of up to 6Mb, all other types can return up to 4.5Mb of (compressed) data.
| planID required | string Key returned in the 200/201 response of the POST request |
"application/json" (string) or "application/vnd.adiutabyte.adiutaopt.json+gzip" (string) or "application/vnd.adiutabyte.adiutaopt.json+deflate" (string) or "application/vnd.adiutabyte.adiutaopt.json+br" (string) (optional) The | |
"identity" (string) or "gzip" (string) or "deflate" (string) (optional) The |
curl \ --request GET \ --url '[see url above]/[key obtained from POST request]' \ --header 'Authorization: Bearer [ID-Token obtained from Authentication (JWT)]'
{- "requestID": "string",
- "client": {
- "clientID": "logisticscenter_a"
}, - "meta": {
- "dateFrom": "2020-04-10",
- "dateTo": "2020-04-10",
- "resCategory": false,
- "resQualification": false,
- "accuracyMode": 1.7e+308,
- "outputLanguage": 1,
- "enablePlanSplitting": true,
- "allowUnassignedTasks": false,
- "removeInvalidTasks": true,
- "minConcurrentSolutions": 1,
- "minTaskDuration": 2147483647,
- "disableTaskTimeWindowRelaxation": false
}, - "parameters": {
- "fairDistribution": 9,
- "workerPrefs": 9,
- "qualificationFitting": 9,
- "constancy": 9,
- "groupPrefs": 9
}, - "tasks": [
- {
- "taskID": 2147483647,
- "externalID": "string",
- "clientID": 2147483647,
- "date": "2020-04-10",
- "duration": 2147483647,
- "durationInSeconds": 2147483647,
- "timeEarliest": "07:25",
- "timeLatest": "07:25",
- "timePriority": 5,
- "prefWorkers": [
- 2147483647
], - "qualification": 2147483647,
- "categories": [
- 2147483647
], - "preassignedWorker": 2147483647,
- "preassignedOrder": -2147483648,
- "initassignedWorker": 2147483647,
- "initassignedOrder": 2147483647,
- "initassignedShiftID": 2147483647,
- "precedingTasks": [
- 2147483647
], - "preferredPrecedingTasks": [
- 2147483647
], - "predecessorTasks": [
- 2147483647
], - "assignmentPriority": 5,
- "preferredGroup": 2147483647,
- "desiredPredecessorGroup": 2147483647,
- "locationSiteID": 2147483647,
- "prefGender": 3,
- "exclusiveSetID": 2147483647,
- "hasStrictExclusiveSet": false,
- "timeScheduled": "07:25",
- "timeWindowViolation": -2147483648,
- "assignedWorker": 2147483647,
- "assignedShiftID": 2147483647,
- "info": "string",
- "finalassignedOrder": 1,
- "allowedWorkers": [
- 2147483647
]
}
], - "workers": [
- {
- "workerID": 2147483647,
- "shiftID": 2147483647,
- "externalID": "string",
- "shiftDate": "2020-04-10",
- "shiftStart": "07:25",
- "shiftEnd": "07:25",
- "shiftPriority": 3,
- "qualification": 2147483647,
- "categories": [
- 2147483647
], - "preferredCategories": [
- 2147483647
], - "unpreferredCategories": [
- 2147483647
], - "desiredCategories": [
- 2147483647
], - "undesiredCategories": [
- 2147483647
], - "dontVary": false,
- "dontAlter": false,
- "allowPreassignedTasksOnly": false,
- "gender": 3,
- "info": "string",
- "tourStart": "07:25",
- "tourEnd": "07:25",
- "totalTaskTime": 2147483647
}
], - "statistics": {
- "impact": [
- {
- "label": "string",
- "value": 1,
- "absolute": 1.7e+308
}
], - "timeWindowViolationTaskIDs": [
- 2147483647
], - "unassignedTaskIDs": [
- 2147483647
], - "unassignableTaskIDs": [
- 2147483647
], - "history": {
- "tasks": [
- {
- "taskID": 2147483647,
- "preferences": [
- {
- "workerID": 2147483647,
- "value": 1
}
], - "preassignedWorker": 2147483647,
- "predecessorTask": 2147483647
}
]
}
}, - "info": {
- "feasible": true
}, - "anomalies": [
- {
- "anomalyKey": "string",
- "severity": "high",
- "text": "string",
- "taskID": 2147483647,
- "workerID": 2147483647
}
], - "backendVersion": {
- "version": "v1.0.0",
- "optVersion": "1970-01-01_0p0",
- "rev": "strings",
- "schema": "v1.2.3"
}, - "recovery": [
- 2147483647
], - "developerOptions": {
- "recovery": [
- 2147483647
], - "debugSolution": "string"
}
}Same behavior as the GET request but returns no content for any of the responses.
| planID required | string Key returned in the 200/201 response of the POST request |
"application/json" (string) or "application/vnd.adiutabyte.adiutaopt.json+gzip" (string) or "application/vnd.adiutabyte.adiutaopt.json+deflate" (string) or "application/vnd.adiutabyte.adiutaopt.json+br" (string) (optional) The | |
"identity" (string) or "gzip" (string) or "deflate" (string) (optional) The |
Get the currently deployed version.
Responses from this endpoint have a content size limit which depends on the used content-type of the response, which can be specified with the accept header. If the response size would exceed that limit, the endpoint returns code 409 instead. Responses of type application/json can include payloads of up to 6Mb, all other types can return up to 4.5Mb of (compressed) data.
| adiutaopt-version | string (optional) A specific version to process the request under. Valid versions can be retrieved with the /packages-list endpoint ( Using a specific version is not recommended for "general" application but for testing, debugging or other developer actions. Versions represent a specific state of the application, they cannot be changed, bug-fixed or extended in any way. For that reason, support for these requests may be limited. |
"application/json" (string) or "application/vnd.adiutabyte.adiutaopt.json+gzip" (string) or "application/vnd.adiutabyte.adiutaopt.json+deflate" (string) or "application/vnd.adiutabyte.adiutaopt.json+br" (string) (optional) The | |
"identity" (string) or "gzip" (string) or "deflate" (string) (optional) The |
curl \ --request GET \ --url '[see url above]' \ --header 'Authorization: Bearer [ID-Token obtained from Authentication (JWT)]'
{- "schema": "v1.7.0",
- "version": "2024-10-01_0",
- "meta_data": "v19",
- "api_scripts": "v1.6.2"
}Same behavior as the GET request but returns no content for any of the responses.
| adiutaopt-version | string (optional) A specific version to process the request under. Valid versions can be retrieved with the /packages-list endpoint ( Using a specific version is not recommended for "general" application but for testing, debugging or other developer actions. Versions represent a specific state of the application, they cannot be changed, bug-fixed or extended in any way. For that reason, support for these requests may be limited. |
"application/json" (string) or "application/vnd.adiutabyte.adiutaopt.json+gzip" (string) or "application/vnd.adiutabyte.adiutaopt.json+deflate" (string) or "application/vnd.adiutabyte.adiutaopt.json+br" (string) (optional) The | |
"identity" (string) or "gzip" (string) or "deflate" (string) (optional) The |
Get a list of all available packages. The Name of each package can be used in a POST request in header adiutaopt-version, the algorithm will then run on the specified version.
Responses from this endpoint have a content size limit which depends on the used content-type of the response, which can be specified with the accept header. If the response size would exceed that limit, the endpoint returns code 409 instead. Responses of type application/json can include payloads of up to 6Mb, all other types can return up to 4.5Mb of (compressed) data.
"application/json" (string) or "application/vnd.adiutabyte.adiutaopt.json+gzip" (string) or "application/vnd.adiutabyte.adiutaopt.json+deflate" (string) or "application/vnd.adiutabyte.adiutaopt.json+br" (string) (optional) The | |
"identity" (string) or "gzip" (string) or "deflate" (string) (optional) The |
curl \ --request GET \ --url '[see url above]' \ --header 'Authorization: Bearer [ID-Token obtained from Authentication (JWT)]'
[- {
- "Name": "a6b69c77bedb7",
- "LastModified": "2024-08-16T12:41:09.000Z",
- "Content": {
- "schema": "v2.7.0",
- "version": "2024-10-01_0",
- "meta_data": "v26"
}
}, - {
- "Name": "d63ca460db7bc",
- "LastModified": "2024-08-16T09:16:09.000Z",
- "Content": {
- "schema": "v2.3.0",
- "version": "2024-10-01_0p0",
- "meta_data": "v26"
}
}
]Same behavior as the GET request but returns no content for any of the responses.
"application/json" (string) or "application/vnd.adiutabyte.adiutaopt.json+gzip" (string) or "application/vnd.adiutabyte.adiutaopt.json+deflate" (string) or "application/vnd.adiutabyte.adiutaopt.json+br" (string) (optional) The | |
"identity" (string) or "gzip" (string) or "deflate" (string) (optional) The |
A string consisting of three parts following the pattern "YYYY-MM-DD":
While the schema does not check for validity, the optimization algorithms do. Including invalid dates (e.g. 2020-02-31) leads to a validation error.
Examples:
"2020-04-10"Unsigned 64bit number with the upper limit of a signed 64bit number
1.7e+308Unsigned 32 bit integer (not zero) with the upper limit of a signed 32bit integer
1Unsigned 32 bit integer with the upper limit of a signed 32bit integer
2147483647| dateFrom required | string (Date) ^[0-9]{4}-(0?[1-9]|1[0-2])-(0?[1-9]|[1-2][0-9... Planning horizon start. |
| dateTo required | string (Date) ^[0-9]{4}-(0?[1-9]|1[0-2])-(0?[1-9]|[1-2][0-9... Planning horizon end. |
| resCategory | boolean Default: false Activate/Deactivate whether category types should be considered in the optimization. |
| resQualification | boolean Default: false Activate/Deactivate whether qualifications should be considered in the optimization. |
| accuracyMode | number (Number_u64) [ 0 .. 1.7e+308 ] Default: 1 Manages a solution refinement process. An accuracy > 0.0 can improve the solution significantly but will take longer to calculate, effects increase with higher |
| outputLanguage | integer (LanguageType) [ 0 .. 1 ] Default: 0 Defines which language should be used in the output. |
| enablePlanSplitting | boolean Deprecated Default: true |
| allowUnassignedTasks | boolean Default: false If this flag is set to false, all tasks will be assigned by the algorithm (for exceptions regarding unassignable tasks, see |
| removeInvalidTasks | boolean If this flag is set to false and the input data contains tasks that cannot be assigned to any worker (e.g. no worker has a qualification high enough for the task), an If this field is not set, it will assume the value of |
| minConcurrentSolutions | integer (Integer_u32_1) [ 1 .. 2147483647 ] Default: 1 Number of concurrently calculated solutions. Developer feature, use at your own risk! |
| minTaskDuration | integer (Integer_u32) [ 0 .. 2147483647 ] Default: 0 Minimum value for an input task's duration. Task durations with a lower value are being overwritten before the optimization. Profit calculations (e.g. |
| disableTaskTimeWindowRelaxation | boolean Default: false Per default, time windows of tasks are slightly relaxed before optimization depending on their |
{- "dateFrom": "2020-04-10",
- "dateTo": "2020-04-10",
- "resCategory": false,
- "resQualification": false,
- "accuracyMode": 1.7e+308,
- "outputLanguage": 1,
- "enablePlanSplitting": true,
- "allowUnassignedTasks": false,
- "removeInvalidTasks": true,
- "minConcurrentSolutions": 1,
- "minTaskDuration": 2147483647,
- "disableTaskTimeWindowRelaxation": false
}| fairDistribution | integer (Integer_0_9) [ 0 .. 9 ] Default: 0 Distribute the tasks fairly among the workers. A fair distribution is one where every worker has the same ratio of total task duration to shift length. Consequently, only tasks with non-zero durations affect the fair distribution. |
| workerPrefs | integer (Integer_0_9) [ 0 .. 9 ] Default: 0 Optimize towards fulfilling preferences on tasks and workers. |
| qualificationFitting | integer (Integer_0_9) [ 0 .. 9 ] Default: 0 Avoid assignments where the worker has a higher qualification than the task. Tasks without qualification count as having a qualification of 0. |
| constancy | integer (Integer_0_9) [ 0 .. 9 ] Default: 0 Prioritize consistency with history. |
| groupPrefs | integer (Integer_0_9) [ 0 .. 9 ] Default: 0 Keep tasks of the same groups on the same workers. |
{- "fairDistribution": 9,
- "workerPrefs": 9,
- "qualificationFitting": 9,
- "constancy": 9,
- "groupPrefs": 9
}A string of either format "hh:mm" or "-hh:mm":
Times are always interpreted relative to a date in the same object as the Time field. This allows times to exceed 24h or even become negative, as the value gets "added" to midnight of the date. For example, the following times applied to the respective date (in Date format) are equivalent:
"07:25"Unsigned 32 bit integer with the upper limit of a signed 32bit integer
[- 2147483647
]Values are:
3| taskID required | integer (Integer_u32) [ 0 .. 2147483647 ] The ID of this task. IDs need to be unique among all Tasks. |
| externalID | string A string to identify the task in the solution. Cannot be used for reference in the input data or the optimizer, it only serves as a helping tool for integrations. |
| clientID | integer (Integer_u32) [ 0 .. 2147483647 ] The ID of the client this task is assigned to. |
| date required | string (Date) ^[0-9]{4}-(0?[1-9]|1[0-2])-(0?[1-9]|[1-2][0-9... The date this task should be planned on. |
| duration | integer (Integer_u32) [ 0 .. 2147483647 ] The time in minutes it takes to complete this task. Exactly one of |
| durationInSeconds | integer (Integer_u32) [ 0 .. 2147483647 ] The time in seconds it takes to complete this task. Exactly one of |
| timeEarliest required | string (Time) ^[-]?([0-9]{1,9}):([0-5][0-9]|[0-9])$ The earliest possible starting time of this task. This is a preference and can be violated for other preferences or restrictions. |
| timeLatest required | string (Time) ^[-]?([0-9]{1,9}):([0-5][0-9]|[0-9])$ The latest time at which this task should be finished. This is a preference and can be violated for other preferences or restrictions. |
| timePriority | integer (Integer_0_5) [ 0 .. 5 ] Default: 1 The priority of the time window:
Tasks with high time priority are more likely to get scheduled inside their given time window. Tasks with time priority 0 completely ignore their given time window. For tasks with a |
| prefWorkers | Array of integers (IDReferences) [ items [ 0 .. 2147483647 ] ] The IDs of preferred workers. This is a preference and can be violated for other preferences or restrictions. Its importance depends on the parameter |
| qualification | integer (Integer_u32) [ 0 .. 2147483647 ] The minimum qualification of the worker required to perform the task (e.g. years of experience). Workers without qualification are not allowed to perform tasks of any qualification. This is a strict restriction and might fail validation if it is impossible to keep. |
| categories | Array of integers (IDReferences) [ items [ 0 .. 2147483647 ] ] A suitable worker has to fulfill all of these categories. This is a strict restriction and might fail validation if it is impossible to keep. |
| preassignedWorker | integer (Integer_u32) [ 0 .. 2147483647 ] The When there are multiple workers with the same
This is a strict restriction and might fail validation if it is impossible to keep. |
| preassignedOrder | integer (Integer_s32) [ -2147483648 .. 2147483647 ] Tasks with a value > 0 will be assigned to the start of the tour of the This is a strict restriction and might fail validation if it is impossible to keep. |
| initassignedWorker | integer (Integer_u32) [ 0 .. 2147483647 ] A hint for large optimization data sets, e.g. solution data from a previous optimization request. The field can also be used for |
| initassignedOrder | integer (Integer_u32) [ 0 .. 2147483647 ] The order within the initially assigned worker's tour. Requires |
| initassignedShiftID | integer (Integer_u32) [ 0 .. 2147483647 ] A |
| precedingTasks | Array of integers (IDReferences) [ items [ 0 .. 2147483647 ] ] Tasks in this list and this task will be performed by the same worker and all listed tasks will have to be finished before this task starts. This is a strict restriction and might fail validation if it is impossible to keep. |
| preferredPrecedingTasks | Array of integers (IDReferences) [ items [ 0 .. 2147483647 ] ] If the tasks in this list together with this task are performed by the same worker, all listed tasks should be completed before this task begins. If the tasks in this list and this task are performed by different workers, the order does not have to be followed. This is a preference and can be violated for other preferences or restrictions. |
| predecessorTasks | Array of integers (IDReferences) [ items [ 0 .. 2147483647 ] ] One of these tasks has be carried out right before this task by the same worker. Putting multiple values in the array does not mean they are carried out in that order - if you want to have a predecessor-chain, you need to set the direct predecessor on each task in the chain (see examples). Do not put redundant values in here, as having more than one value in the array has negative impact on performance and solution quality. This is a strict restriction and might fail validation if it is impossible to keep. |
| assignmentPriority | integer (Integer_0_5) [ 0 .. 5 ] Default: 1 A priority for assignment (see
If For tasks with an |
| preferredGroup | integer (Integer_u32) [ 0 .. 2147483647 ] Tasks with the same value in this field will preferably be assigned to the same worker shift. It does not incentivize the optimizer to assign the tasks consecutively, if you want that to happen, you have to use This is a preference and can be violated for other preferences or restrictions. Its importance depends on the parameter |
| desiredPredecessorGroup | integer (Integer_u32) [ 0 .. 2147483647 ] Tasks with the same value in this field will preferably be assigned consecutively, if they are assigned to the same worker. It does not incentivize the optimizer to assign the tasks on the same worker, if you want that to happen, you have to use This is a preference and can be violated for other preferences or restrictions. |
| locationSiteID | integer (Integer_u32) [ 0 .. 2147483647 ] An id for the position this task has to be carried out at. |
| prefGender | integer (GenderType) [ 0 .. 3 ] The preferred gender for the assigned worker. This is a preference and can be violated for other preferences or restrictions. |
| exclusiveSetID | integer (Integer_u32) [ 0 .. 2147483647 ] Tasks with the same This is a strict restriction and might fail validation if it is impossible to keep. |
| hasStrictExclusiveSet | boolean Default: false If this field is set to true, the worker carrying out this task cannot carry out tasks without an |
{- "taskID": 2147483647,
- "externalID": "string",
- "clientID": 2147483647,
- "date": "2020-04-10",
- "duration": 2147483647,
- "durationInSeconds": 2147483647,
- "timeEarliest": "07:25",
- "timeLatest": "07:25",
- "timePriority": 5,
- "prefWorkers": [
- 2147483647
], - "qualification": 2147483647,
- "categories": [
- 2147483647
], - "preassignedWorker": 2147483647,
- "preassignedOrder": -2147483648,
- "initassignedWorker": 2147483647,
- "initassignedOrder": 2147483647,
- "initassignedShiftID": 2147483647,
- "precedingTasks": [
- 2147483647
], - "preferredPrecedingTasks": [
- 2147483647
], - "predecessorTasks": [
- 2147483647
], - "assignmentPriority": 5,
- "preferredGroup": 2147483647,
- "desiredPredecessorGroup": 2147483647,
- "locationSiteID": 2147483647,
- "prefGender": 3,
- "exclusiveSetID": 2147483647,
- "hasStrictExclusiveSet": false
}| workerID required | integer (Integer_u32) [ 0 .. 2147483647 ] The ID of the worker. |
| shiftID | integer (Integer_u32) [ 0 .. 2147483647 ] A second ID in case there are multiple workers with the same |
| externalID | string A string to identify the worker in the solution. Cannot be used for reference in the input data or the optimizer, it only serves as a helping tool for integrations. |
| shiftDate required | string (Date) ^[0-9]{4}-(0?[1-9]|1[0-2])-(0?[1-9]|[1-2][0-9... The date of this shift. |
| shiftStart required | string (Time) ^[-]?([0-9]{1,9}):([0-5][0-9]|[0-9])$ The time this shift starts. This is a preference and can be violated for other preferences or restrictions. |
| shiftEnd required | string (Time) ^[-]?([0-9]{1,9}):([0-5][0-9]|[0-9])$ The time this shift ends. This is a preference and can be violated for other preferences or restrictions. |
| shiftPriority | integer (Integer_0_3) [ 0 .. 3 ] Default: 1 The priority to keep the defined shift start and end times:
|
| qualification | integer (Integer_u32) [ 0 .. 2147483647 ] The qualification of the worker. They are able to take over tasks with the same or lower |
| categories | Array of integers (IDReferences) [ items [ 0 .. 2147483647 ] ] The worker can only carry out tasks if he has each category the task requires. |
| preferredCategories | Array of integers (IDReferences) [ items [ 0 .. 2147483647 ] ] The worker prefers tasks that have any of these categories. Categories listed here are automatically considered valid as if they're listed in This is a preference and can be violated for other preferences or restrictions. Its importance depends on the parameter |
| unpreferredCategories | Array of integers (IDReferences) [ items [ 0 .. 2147483647 ] ] The worker has an aversion against tasks that have any of these categories. Categories listed here are automatically considered valid as if they're listed in This is a preference and can be violated for other preferences or restrictions. Its importance depends on the parameter |
| desiredCategories | Array of integers (IDReferences) [ items [ 0 .. 2147483647 ] ] The worker strongly prefers tasks that have any of these categories. Categories listed here are automatically considered valid as if they're listed in This is a preference and can be violated for other preferences or restrictions. |
| undesiredCategories | Array of integers (IDReferences) [ items [ 0 .. 2147483647 ] ] The worker has a strong aversion against tasks that have any of these categories. Categories listed here are automatically considered valid as if they're listed in This is a preference and can be violated for other preferences or restrictions. |
| dontVary | boolean Default: false A worker with This is a strict restriction and might fail validation if it is impossible to keep. |
| dontAlter | boolean Default: false Workers with This is a strict restriction and might fail validation if it is impossible to keep. |
| allowPreassignedTasksOnly | boolean Default: false If this flag is true, only tasks preassigned to this worker can be assigned to it. Tasks not preassigned to this worker cannot be assigned to it. This is a strict restriction and might fail validation if it is impossible to keep. |
| gender | integer (GenderType) [ 0 .. 3 ] The gender of the worker. |
{- "workerID": 2147483647,
- "shiftID": 2147483647,
- "externalID": "string",
- "shiftDate": "2020-04-10",
- "shiftStart": "07:25",
- "shiftEnd": "07:25",
- "shiftPriority": 3,
- "qualification": 2147483647,
- "categories": [
- 2147483647
], - "preferredCategories": [
- 2147483647
], - "unpreferredCategories": [
- 2147483647
], - "desiredCategories": [
- 2147483647
], - "undesiredCategories": [
- 2147483647
], - "dontVary": false,
- "dontAlter": false,
- "allowPreassignedTasksOnly": false,
- "gender": 3
}| date required | string (Date) ^[0-9]{4}-(0?[1-9]|1[0-2])-(0?[1-9]|[1-2][0-9... The date of the assignment. |
| locationSiteID | integer (Integer_u32) [ 0 .. 2147483647 ] The id for the location the task was carried out at at the time. |
| timeScheduled | string (Time) ^[-]?([0-9]{1,9}):([0-5][0-9]|[0-9])$ The time the corresponding task was scheduled (meaning the time the final plan had this task scheduled on, not to be confused with actualStartTime) |
| assignedWorker | integer (Integer_u32) [ 0 .. 2147483647 ] The worker the corresponding task was assigned to in the final planned version. |
| assignedShiftID | integer (Integer_u32) [ 0 .. 2147483647 ] An id for the assigned shift of the assigned worker. |
| assignedOrder | integer (Integer_u32) [ 0 .. 2147483647 ] The order number this task was assigned to the worker shift. |
| timeScheduledAutomatically | string (Time) ^[-]?([0-9]{1,9}):([0-5][0-9]|[0-9])$ The time the corresponding task was scheduled on by the optimizer at the time. |
| assignedWorkerAutomatically | integer (Integer_u32) [ 0 .. 2147483647 ] The worker the corresponding task was assigned to by the optimizer at the time. |
| assignedShiftIDAutomatically | integer (Integer_u32) [ 0 .. 2147483647 ] An id for the assigned shift of the assigned worker. |
| assignedOrderAutomatically | integer (Integer_u32) [ 0 .. 2147483647 ] The order number this task was assigned to the worker shift. |
| actualWorker | integer (Integer_u32) [ 0 .. 2147483647 ] The worker the task was actually carried out by, for instance as determined by mobile tracking. |
| actualStartTime | string (Time) ^[-]?([0-9]{1,9}):([0-5][0-9]|[0-9])$ The time the task was actually started, for instance as determined by mobile tracking. |
| actualShiftID | integer (Integer_u32) [ 0 .. 2147483647 ] An id for the assigned shift of the assigned worker. |
| actualOrder | integer (Integer_u32) [ 0 .. 2147483647 ] The order number this task was assigned to the worker shift. |
{- "date": "2020-04-10",
- "locationSiteID": 2147483647,
- "timeScheduled": "07:25",
- "assignedWorker": 2147483647,
- "assignedShiftID": 2147483647,
- "assignedOrder": 2147483647,
- "timeScheduledAutomatically": "07:25",
- "assignedWorkerAutomatically": 2147483647,
- "assignedShiftIDAutomatically": 2147483647,
- "assignedOrderAutomatically": 2147483647,
- "actualWorker": 2147483647,
- "actualStartTime": "07:25",
- "actualShiftID": 2147483647,
- "actualOrder": 2147483647
}| taskID required | integer (Integer_u32) [ 0 .. 2147483647 ] Task ID for referencing task in planning tasks. |
required | Array of objects (FloorPlannerHistoryAssignment) All considered historical assignments of this task. |
{- "taskID": 2147483647,
- "scheduling": [
- {
- "date": "2020-04-10",
- "locationSiteID": 2147483647,
- "timeScheduled": "07:25",
- "assignedWorker": 2147483647,
- "assignedShiftID": 2147483647,
- "assignedOrder": 2147483647,
- "timeScheduledAutomatically": "07:25",
- "assignedWorkerAutomatically": 2147483647,
- "assignedShiftIDAutomatically": 2147483647,
- "assignedOrderAutomatically": 2147483647,
- "actualWorker": 2147483647,
- "actualStartTime": "07:25",
- "actualShiftID": 2147483647,
- "actualOrder": 2147483647
}
]
}| workerID required | integer (Integer_u32) [ 0 .. 2147483647 ] ID of a worker that is not present in the input data. Has to be unique among all History-Workers. |
{- "workerID": 2147483647
}required | Array of objects (FloorPlannerHistoryTask) All history tasks |
required | Array of objects (FloorPlannerHistoryWorker) All history workers |
Array of objects (FloorPlannerInputTask) All tasks that are relevant for the analysis but are not part of the optimization. |
{- "tasks": [
- {
- "taskID": 2147483647,
- "scheduling": [
- {
- "date": "2020-04-10",
- "locationSiteID": 2147483647,
- "timeScheduled": "07:25",
- "assignedWorker": 2147483647,
- "assignedShiftID": 2147483647,
- "assignedOrder": 2147483647,
- "timeScheduledAutomatically": "07:25",
- "assignedWorkerAutomatically": 2147483647,
- "assignedShiftIDAutomatically": 2147483647,
- "assignedOrderAutomatically": 2147483647,
- "actualWorker": 2147483647,
- "actualStartTime": "07:25",
- "actualShiftID": 2147483647,
- "actualOrder": 2147483647
}
]
}
], - "workers": [
- {
- "workerID": 2147483647
}
], - "additionalTasks": [
- {
- "taskID": 2147483647,
- "externalID": "string",
- "clientID": 2147483647,
- "date": "2020-04-10",
- "duration": 2147483647,
- "durationInSeconds": 2147483647,
- "timeEarliest": "07:25",
- "timeLatest": "07:25",
- "timePriority": 5,
- "prefWorkers": [
- 2147483647
], - "qualification": 2147483647,
- "categories": [
- 2147483647
], - "preassignedWorker": 2147483647,
- "preassignedOrder": -2147483648,
- "initassignedWorker": 2147483647,
- "initassignedOrder": 2147483647,
- "initassignedShiftID": 2147483647,
- "precedingTasks": [
- 2147483647
], - "preferredPrecedingTasks": [
- 2147483647
], - "predecessorTasks": [
- 2147483647
], - "assignmentPriority": 5,
- "preferredGroup": 2147483647,
- "desiredPredecessorGroup": 2147483647,
- "locationSiteID": 2147483647,
- "prefGender": 3,
- "exclusiveSetID": 2147483647,
- "hasStrictExclusiveSet": false
}
]
}| recovery | Array of integers (IDReferences) [ items [ 0 .. 2147483647 ] ] [developer feature] Contains recovery data that can be used to reproduce timeout behaviour. |
| debugSolution | string [developer feature] Contains data for (re-)producing specific solutions. |
{- "recovery": [
- 2147483647
], - "debugSolution": "string"
}object (Client) Contains information about the client which sends this request. | |
required | object (FloorPlannerMeta) Meta information about what to consider in the optimization. |
required | object (FloorPlannerOptimizationParameters) Parameters for the optimizer. |
required | Array of objects (FloorPlannerInputTask) Array of tasks to be planned by the optimizer. |
required | Array of objects (FloorPlannerInputWorker) Array of available workers. |
object (FloorPlannerHistory) History data the optimizer can learn from to apply to the current request. History analysis is done differently for each of our customers, if you know what issues you want to address/ what results you want to see from such methods, please contact us so we can set up a solution. | |
| recovery | Array of integers (IDReferences) [ items [ 0 .. 2147483647 ] ] Deprecated List of ids. |
object (DeveloperOptions) Options for developers. Do not use! |
{- "client": {
- "clientID": "logisticscenter_a"
}, - "meta": {
- "dateFrom": "2020-04-10",
- "dateTo": "2020-04-10",
- "resCategory": false,
- "resQualification": false,
- "accuracyMode": 1.7e+308,
- "outputLanguage": 1,
- "enablePlanSplitting": true,
- "allowUnassignedTasks": false,
- "removeInvalidTasks": true,
- "minConcurrentSolutions": 1,
- "minTaskDuration": 2147483647,
- "disableTaskTimeWindowRelaxation": false
}, - "parameters": {
- "fairDistribution": 9,
- "workerPrefs": 9,
- "qualificationFitting": 9,
- "constancy": 9,
- "groupPrefs": 9
}, - "tasks": [
- {
- "taskID": 2147483647,
- "externalID": "string",
- "clientID": 2147483647,
- "date": "2020-04-10",
- "duration": 2147483647,
- "durationInSeconds": 2147483647,
- "timeEarliest": "07:25",
- "timeLatest": "07:25",
- "timePriority": 5,
- "prefWorkers": [
- 2147483647
], - "qualification": 2147483647,
- "categories": [
- 2147483647
], - "preassignedWorker": 2147483647,
- "preassignedOrder": -2147483648,
- "initassignedWorker": 2147483647,
- "initassignedOrder": 2147483647,
- "initassignedShiftID": 2147483647,
- "precedingTasks": [
- 2147483647
], - "preferredPrecedingTasks": [
- 2147483647
], - "predecessorTasks": [
- 2147483647
], - "assignmentPriority": 5,
- "preferredGroup": 2147483647,
- "desiredPredecessorGroup": 2147483647,
- "locationSiteID": 2147483647,
- "prefGender": 3,
- "exclusiveSetID": 2147483647,
- "hasStrictExclusiveSet": false
}
], - "workers": [
- {
- "workerID": 2147483647,
- "shiftID": 2147483647,
- "externalID": "string",
- "shiftDate": "2020-04-10",
- "shiftStart": "07:25",
- "shiftEnd": "07:25",
- "shiftPriority": 3,
- "qualification": 2147483647,
- "categories": [
- 2147483647
], - "preferredCategories": [
- 2147483647
], - "unpreferredCategories": [
- 2147483647
], - "desiredCategories": [
- 2147483647
], - "undesiredCategories": [
- 2147483647
], - "dontVary": false,
- "dontAlter": false,
- "allowPreassignedTasksOnly": false,
- "gender": 3
}
], - "history": {
- "tasks": [
- {
- "taskID": 2147483647,
- "scheduling": [
- {
- "date": "2020-04-10",
- "locationSiteID": 2147483647,
- "timeScheduled": "07:25",
- "assignedWorker": 2147483647,
- "assignedShiftID": 2147483647,
- "assignedOrder": 2147483647,
- "timeScheduledAutomatically": "07:25",
- "assignedWorkerAutomatically": 2147483647,
- "assignedShiftIDAutomatically": 2147483647,
- "assignedOrderAutomatically": 2147483647,
- "actualWorker": 2147483647,
- "actualStartTime": "07:25",
- "actualShiftID": 2147483647,
- "actualOrder": 2147483647
}
]
}
], - "workers": [
- {
- "workerID": 2147483647
}
], - "additionalTasks": [
- {
- "taskID": 2147483647,
- "externalID": "string",
- "clientID": 2147483647,
- "date": "2020-04-10",
- "duration": 2147483647,
- "durationInSeconds": 2147483647,
- "timeEarliest": "07:25",
- "timeLatest": "07:25",
- "timePriority": 5,
- "prefWorkers": [
- 2147483647
], - "qualification": 2147483647,
- "categories": [
- 2147483647
], - "preassignedWorker": 2147483647,
- "preassignedOrder": -2147483648,
- "initassignedWorker": 2147483647,
- "initassignedOrder": 2147483647,
- "initassignedShiftID": 2147483647,
- "precedingTasks": [
- 2147483647
], - "preferredPrecedingTasks": [
- 2147483647
], - "predecessorTasks": [
- 2147483647
], - "assignmentPriority": 5,
- "preferredGroup": 2147483647,
- "desiredPredecessorGroup": 2147483647,
- "locationSiteID": 2147483647,
- "prefGender": 3,
- "exclusiveSetID": 2147483647,
- "hasStrictExclusiveSet": false
}
]
}, - "recovery": [
- 2147483647
], - "developerOptions": {
- "recovery": [
- 2147483647
], - "debugSolution": "string"
}
}| keyword required | string Validation keyword. |
| instancePath required | string JSON Pointer to the location in the data instance (e.g., |
| schemaPath required | string JSON Pointer to the location of the failing keyword in the schema |
| params required | object Params property is the object with the additional information about error. It can be used to generate error messages (e.g., using ajv-i18n package). |
| propertyName | string Set for errors in |
| message | string The error message. |
| schema | any The value of the failing keyword in the schema. |
| parentSchema | object The schema containing the keyword. |
| data | any The data validated by the keyword. |
{- "keyword": "string",
- "instancePath": "string",
- "schemaPath": "string",
- "params": { },
- "propertyName": "string",
- "message": "string",
- "schema": null,
- "parentSchema": { },
- "data": null
}| taskID required | integer (Integer_u32) [ 0 .. 2147483647 ] The ID of this task. IDs need to be unique among all Tasks. |
| externalID | string A string to identify the task in the solution. Cannot be used for reference in the input data or the optimizer, it only serves as a helping tool for integrations. |
| clientID | integer (Integer_u32) [ 0 .. 2147483647 ] The ID of the client this task is assigned to. |
| date required | string (Date) ^[0-9]{4}-(0?[1-9]|1[0-2])-(0?[1-9]|[1-2][0-9... The date this task should be planned on. |
| duration | integer (Integer_u32) [ 0 .. 2147483647 ] The time in minutes it takes to complete this task. Exactly one of |
| durationInSeconds | integer (Integer_u32) [ 0 .. 2147483647 ] The time in seconds it takes to complete this task. Exactly one of |
| timeEarliest required | string (Time) ^[-]?([0-9]{1,9}):([0-5][0-9]|[0-9])$ The earliest possible starting time of this task. This is a preference and can be violated for other preferences or restrictions. |
| timeLatest required | string (Time) ^[-]?([0-9]{1,9}):([0-5][0-9]|[0-9])$ The latest time at which this task should be finished. This is a preference and can be violated for other preferences or restrictions. |
| timePriority | integer (Integer_0_5) [ 0 .. 5 ] Default: 1 The priority of the time window:
Tasks with high time priority are more likely to get scheduled inside their given time window. Tasks with time priority 0 completely ignore their given time window. For tasks with a |
| prefWorkers | Array of integers (IDReferences) [ items [ 0 .. 2147483647 ] ] The IDs of preferred workers. This is a preference and can be violated for other preferences or restrictions. Its importance depends on the parameter |
| qualification | integer (Integer_u32) [ 0 .. 2147483647 ] The minimum qualification of the worker required to perform the task (e.g. years of experience). Workers without qualification are not allowed to perform tasks of any qualification. This is a strict restriction and might fail validation if it is impossible to keep. |
| categories | Array of integers (IDReferences) [ items [ 0 .. 2147483647 ] ] A suitable worker has to fulfill all of these categories. This is a strict restriction and might fail validation if it is impossible to keep. |
| preassignedWorker | integer (Integer_u32) [ 0 .. 2147483647 ] The When there are multiple workers with the same
This is a strict restriction and might fail validation if it is impossible to keep. |
| preassignedOrder | integer (Integer_s32) [ -2147483648 .. 2147483647 ] Tasks with a value > 0 will be assigned to the start of the tour of the This is a strict restriction and might fail validation if it is impossible to keep. |
| initassignedWorker | integer (Integer_u32) [ 0 .. 2147483647 ] A hint for large optimization data sets, e.g. solution data from a previous optimization request. The field can also be used for |
| initassignedOrder | integer (Integer_u32) [ 0 .. 2147483647 ] The order within the initially assigned worker's tour. Requires |
| initassignedShiftID | integer (Integer_u32) [ 0 .. 2147483647 ] A |
| precedingTasks | Array of integers (IDReferences) [ items [ 0 .. 2147483647 ] ] Tasks in this list and this task will be performed by the same worker and all listed tasks will have to be finished before this task starts. This is a strict restriction and might fail validation if it is impossible to keep. |
| preferredPrecedingTasks | Array of integers (IDReferences) [ items [ 0 .. 2147483647 ] ] If the tasks in this list together with this task are performed by the same worker, all listed tasks should be completed before this task begins. If the tasks in this list and this task are performed by different workers, the order does not have to be followed. This is a preference and can be violated for other preferences or restrictions. |
| predecessorTasks | Array of integers (IDReferences) [ items [ 0 .. 2147483647 ] ] One of these tasks has be carried out right before this task by the same worker. Putting multiple values in the array does not mean they are carried out in that order - if you want to have a predecessor-chain, you need to set the direct predecessor on each task in the chain (see examples). Do not put redundant values in here, as having more than one value in the array has negative impact on performance and solution quality. This is a strict restriction and might fail validation if it is impossible to keep. |
| assignmentPriority | integer (Integer_0_5) [ 0 .. 5 ] Default: 1 A priority for assignment (see
If For tasks with an |
| preferredGroup | integer (Integer_u32) [ 0 .. 2147483647 ] Tasks with the same value in this field will preferably be assigned to the same worker shift. It does not incentivize the optimizer to assign the tasks consecutively, if you want that to happen, you have to use This is a preference and can be violated for other preferences or restrictions. Its importance depends on the parameter |
| desiredPredecessorGroup | integer (Integer_u32) [ 0 .. 2147483647 ] Tasks with the same value in this field will preferably be assigned consecutively, if they are assigned to the same worker. It does not incentivize the optimizer to assign the tasks on the same worker, if you want that to happen, you have to use This is a preference and can be violated for other preferences or restrictions. |
| locationSiteID | integer (Integer_u32) [ 0 .. 2147483647 ] An id for the position this task has to be carried out at. |
| prefGender | integer (GenderType) [ 0 .. 3 ] The preferred gender for the assigned worker. This is a preference and can be violated for other preferences or restrictions. |
| exclusiveSetID | integer (Integer_u32) [ 0 .. 2147483647 ] Tasks with the same This is a strict restriction and might fail validation if it is impossible to keep. |
| hasStrictExclusiveSet | boolean Default: false If this field is set to true, the worker carrying out this task cannot carry out tasks without an |
| timeScheduled required | string (Time) ^[-]?([0-9]{1,9}):([0-5][0-9]|[0-9])$ The planned time to start this task by the assigned worker. |
| timeWindowViolation | integer (Integer_s32) [ -2147483648 .. 2147483647 ] If the task is scheduled outside its time window, this value displays the discrepancy in minutes - the value is < 0 if the task was scheduled earlier than its time window and > 0 otherwise. If the task is scheduled within its time window, the field does not get added. Examples:
|
| assignedWorker required | integer (Integer_u32) [ 0 .. 2147483647 ] The ID ( |
| assignedShiftID | integer (Integer_u32) [ 0 .. 2147483647 ] The |
| info required | string May contain some information about the task. |
| finalassignedOrder required | integer (Integer_u32_1) [ 1 .. 2147483647 ] The order number on the assigned worker. |
| allowedWorkers | Array of integers (IDReferences) [ items [ 0 .. 2147483647 ] ] A list of all workers ( |
{- "taskID": 2147483647,
- "externalID": "string",
- "clientID": 2147483647,
- "date": "2020-04-10",
- "duration": 2147483647,
- "durationInSeconds": 2147483647,
- "timeEarliest": "07:25",
- "timeLatest": "07:25",
- "timePriority": 5,
- "prefWorkers": [
- 2147483647
], - "qualification": 2147483647,
- "categories": [
- 2147483647
], - "preassignedWorker": 2147483647,
- "preassignedOrder": -2147483648,
- "initassignedWorker": 2147483647,
- "initassignedOrder": 2147483647,
- "initassignedShiftID": 2147483647,
- "precedingTasks": [
- 2147483647
], - "preferredPrecedingTasks": [
- 2147483647
], - "predecessorTasks": [
- 2147483647
], - "assignmentPriority": 5,
- "preferredGroup": 2147483647,
- "desiredPredecessorGroup": 2147483647,
- "locationSiteID": 2147483647,
- "prefGender": 3,
- "exclusiveSetID": 2147483647,
- "hasStrictExclusiveSet": false,
- "timeScheduled": "07:25",
- "timeWindowViolation": -2147483648,
- "assignedWorker": 2147483647,
- "assignedShiftID": 2147483647,
- "info": "string",
- "finalassignedOrder": 1,
- "allowedWorkers": [
- 2147483647
]
}| taskID required | integer (Integer_u32) [ 0 .. 2147483647 ] The ID of this task. IDs need to be unique among all Tasks. |
| externalID | string A string to identify the task in the solution. Cannot be used for reference in the input data or the optimizer, it only serves as a helping tool for integrations. |
| clientID | integer (Integer_u32) [ 0 .. 2147483647 ] The ID of the client this task is assigned to. |
| date required | string (Date) ^[0-9]{4}-(0?[1-9]|1[0-2])-(0?[1-9]|[1-2][0-9... The date this task should be planned on. |
| duration | integer (Integer_u32) [ 0 .. 2147483647 ] The time in minutes it takes to complete this task. Exactly one of |
| durationInSeconds | integer (Integer_u32) [ 0 .. 2147483647 ] The time in seconds it takes to complete this task. Exactly one of |
| timeEarliest required | string (Time) ^[-]?([0-9]{1,9}):([0-5][0-9]|[0-9])$ The earliest possible starting time of this task. This is a preference and can be violated for other preferences or restrictions. |
| timeLatest required | string (Time) ^[-]?([0-9]{1,9}):([0-5][0-9]|[0-9])$ The latest time at which this task should be finished. This is a preference and can be violated for other preferences or restrictions. |
| timePriority | integer (Integer_0_5) [ 0 .. 5 ] Default: 1 The priority of the time window:
Tasks with high time priority are more likely to get scheduled inside their given time window. Tasks with time priority 0 completely ignore their given time window. For tasks with a |
| prefWorkers | Array of integers (IDReferences) [ items [ 0 .. 2147483647 ] ] The IDs of preferred workers. This is a preference and can be violated for other preferences or restrictions. Its importance depends on the parameter |
| qualification | integer (Integer_u32) [ 0 .. 2147483647 ] The minimum qualification of the worker required to perform the task (e.g. years of experience). Workers without qualification are not allowed to perform tasks of any qualification. This is a strict restriction and might fail validation if it is impossible to keep. |
| categories | Array of integers (IDReferences) [ items [ 0 .. 2147483647 ] ] A suitable worker has to fulfill all of these categories. This is a strict restriction and might fail validation if it is impossible to keep. |
| preassignedWorker | integer (Integer_u32) [ 0 .. 2147483647 ] The When there are multiple workers with the same
This is a strict restriction and might fail validation if it is impossible to keep. |
| preassignedOrder | integer (Integer_s32) [ -2147483648 .. 2147483647 ] Tasks with a value > 0 will be assigned to the start of the tour of the This is a strict restriction and might fail validation if it is impossible to keep. |
| initassignedWorker | integer (Integer_u32) [ 0 .. 2147483647 ] A hint for large optimization data sets, e.g. solution data from a previous optimization request. The field can also be used for |
| initassignedOrder | integer (Integer_u32) [ 0 .. 2147483647 ] The order within the initially assigned worker's tour. Requires |
| initassignedShiftID | integer (Integer_u32) [ 0 .. 2147483647 ] A |
| precedingTasks | Array of integers (IDReferences) [ items [ 0 .. 2147483647 ] ] Tasks in this list and this task will be performed by the same worker and all listed tasks will have to be finished before this task starts. This is a strict restriction and might fail validation if it is impossible to keep. |
| preferredPrecedingTasks | Array of integers (IDReferences) [ items [ 0 .. 2147483647 ] ] If the tasks in this list together with this task are performed by the same worker, all listed tasks should be completed before this task begins. If the tasks in this list and this task are performed by different workers, the order does not have to be followed. This is a preference and can be violated for other preferences or restrictions. |
| predecessorTasks | Array of integers (IDReferences) [ items [ 0 .. 2147483647 ] ] One of these tasks has be carried out right before this task by the same worker. Putting multiple values in the array does not mean they are carried out in that order - if you want to have a predecessor-chain, you need to set the direct predecessor on each task in the chain (see examples). Do not put redundant values in here, as having more than one value in the array has negative impact on performance and solution quality. This is a strict restriction and might fail validation if it is impossible to keep. |
| assignmentPriority | integer (Integer_0_5) [ 0 .. 5 ] Default: 1 A priority for assignment (see
If For tasks with an |
| preferredGroup | integer (Integer_u32) [ 0 .. 2147483647 ] Tasks with the same value in this field will preferably be assigned to the same worker shift. It does not incentivize the optimizer to assign the tasks consecutively, if you want that to happen, you have to use This is a preference and can be violated for other preferences or restrictions. Its importance depends on the parameter |
| desiredPredecessorGroup | integer (Integer_u32) [ 0 .. 2147483647 ] Tasks with the same value in this field will preferably be assigned consecutively, if they are assigned to the same worker. It does not incentivize the optimizer to assign the tasks on the same worker, if you want that to happen, you have to use This is a preference and can be violated for other preferences or restrictions. |
| locationSiteID | integer (Integer_u32) [ 0 .. 2147483647 ] An id for the position this task has to be carried out at. |
| prefGender | integer (GenderType) [ 0 .. 3 ] The preferred gender for the assigned worker. This is a preference and can be violated for other preferences or restrictions. |
| exclusiveSetID | integer (Integer_u32) [ 0 .. 2147483647 ] Tasks with the same This is a strict restriction and might fail validation if it is impossible to keep. |
| hasStrictExclusiveSet | boolean Default: false If this field is set to true, the worker carrying out this task cannot carry out tasks without an |
| info required | string May contain some information about the task, will give a reason as to why this task is unassigned. |
| allowedWorkers | Array of integers (IDReferences) [ items [ 0 .. 2147483647 ] ] A list of all workers ( |
{- "taskID": 2147483647,
- "externalID": "string",
- "clientID": 2147483647,
- "date": "2020-04-10",
- "duration": 2147483647,
- "durationInSeconds": 2147483647,
- "timeEarliest": "07:25",
- "timeLatest": "07:25",
- "timePriority": 5,
- "prefWorkers": [
- 2147483647
], - "qualification": 2147483647,
- "categories": [
- 2147483647
], - "preassignedWorker": 2147483647,
- "preassignedOrder": -2147483648,
- "initassignedWorker": 2147483647,
- "initassignedOrder": 2147483647,
- "initassignedShiftID": 2147483647,
- "precedingTasks": [
- 2147483647
], - "preferredPrecedingTasks": [
- 2147483647
], - "predecessorTasks": [
- 2147483647
], - "assignmentPriority": 5,
- "preferredGroup": 2147483647,
- "desiredPredecessorGroup": 2147483647,
- "locationSiteID": 2147483647,
- "prefGender": 3,
- "exclusiveSetID": 2147483647,
- "hasStrictExclusiveSet": false,
- "info": "string",
- "allowedWorkers": [
- 2147483647
]
}| workerID required | integer (Integer_u32) [ 0 .. 2147483647 ] The ID of the worker. |
| shiftID | integer (Integer_u32) [ 0 .. 2147483647 ] A second ID in case there are multiple workers with the same |
| externalID | string A string to identify the worker in the solution. Cannot be used for reference in the input data or the optimizer, it only serves as a helping tool for integrations. |
| shiftDate required | string (Date) ^[0-9]{4}-(0?[1-9]|1[0-2])-(0?[1-9]|[1-2][0-9... The date of this shift. |
| shiftStart required | string (Time) ^[-]?([0-9]{1,9}):([0-5][0-9]|[0-9])$ The time this shift starts. This is a preference and can be violated for other preferences or restrictions. |
| shiftEnd required | string (Time) ^[-]?([0-9]{1,9}):([0-5][0-9]|[0-9])$ The time this shift ends. This is a preference and can be violated for other preferences or restrictions. |
| shiftPriority | integer (Integer_0_3) [ 0 .. 3 ] Default: 1 The priority to keep the defined shift start and end times:
|
| qualification | integer (Integer_u32) [ 0 .. 2147483647 ] The qualification of the worker. They are able to take over tasks with the same or lower |
| categories | Array of integers (IDReferences) [ items [ 0 .. 2147483647 ] ] The worker can only carry out tasks if he has each category the task requires. |
| preferredCategories | Array of integers (IDReferences) [ items [ 0 .. 2147483647 ] ] The worker prefers tasks that have any of these categories. Categories listed here are automatically considered valid as if they're listed in This is a preference and can be violated for other preferences or restrictions. Its importance depends on the parameter |
| unpreferredCategories | Array of integers (IDReferences) [ items [ 0 .. 2147483647 ] ] The worker has an aversion against tasks that have any of these categories. Categories listed here are automatically considered valid as if they're listed in This is a preference and can be violated for other preferences or restrictions. Its importance depends on the parameter |
| desiredCategories | Array of integers (IDReferences) [ items [ 0 .. 2147483647 ] ] The worker strongly prefers tasks that have any of these categories. Categories listed here are automatically considered valid as if they're listed in This is a preference and can be violated for other preferences or restrictions. |
| undesiredCategories | Array of integers (IDReferences) [ items [ 0 .. 2147483647 ] ] The worker has a strong aversion against tasks that have any of these categories. Categories listed here are automatically considered valid as if they're listed in This is a preference and can be violated for other preferences or restrictions. |
| dontVary | boolean Default: false A worker with This is a strict restriction and might fail validation if it is impossible to keep. |
| dontAlter | boolean Default: false Workers with This is a strict restriction and might fail validation if it is impossible to keep. |
| allowPreassignedTasksOnly | boolean Default: false If this flag is true, only tasks preassigned to this worker can be assigned to it. Tasks not preassigned to this worker cannot be assigned to it. This is a strict restriction and might fail validation if it is impossible to keep. |
| gender | integer (GenderType) [ 0 .. 3 ] The gender of the worker. |
| info | string Some textual information about the worker. |
| tourStart | string (Time) ^[-]?([0-9]{1,9}):([0-5][0-9]|[0-9])$ The actual time this worker starts their tour. The value is set only if the worker has a task assigned. If the worker has a task assigned and tourStartsOnShiftStart is set to true, it will always be equal to shiftStart. |
| tourEnd | string (Time) ^[-]?([0-9]{1,9}):([0-5][0-9]|[0-9])$ The actual time this worker ends their tour, including travel to its endLocation and any capacity resets. |
| totalTaskTime required | integer (Integer_u32) [ 0 .. 2147483647 ] The sum of all task durations on this worker. |
{- "workerID": 2147483647,
- "shiftID": 2147483647,
- "externalID": "string",
- "shiftDate": "2020-04-10",
- "shiftStart": "07:25",
- "shiftEnd": "07:25",
- "shiftPriority": 3,
- "qualification": 2147483647,
- "categories": [
- 2147483647
], - "preferredCategories": [
- 2147483647
], - "unpreferredCategories": [
- 2147483647
], - "desiredCategories": [
- 2147483647
], - "undesiredCategories": [
- 2147483647
], - "dontVary": false,
- "dontAlter": false,
- "allowPreassignedTasksOnly": false,
- "gender": 3,
- "info": "string",
- "tourStart": "07:25",
- "tourEnd": "07:25",
- "totalTaskTime": 2147483647
}required | Array of objects Contains all restriction types and gives the absolute value as well as a percentage (0.0-1.0) evaluation of each restriction's final influence on the algorithmic optimization and plan result. |
| timeWindowViolationTaskIDs | Array of integers (Integer_u32) [ items [ 0 .. 2147483647 ] ]
|
| unassignedTaskIDs | Array of integers (Integer_u32) [ items [ 0 .. 2147483647 ] ]
|
| unassignableTaskIDs | Array of integers (Integer_u32) [ items [ 0 .. 2147483647 ] ]
|
object All data determined from the history. |
{- "impact": [
- {
- "label": "string",
- "value": 1,
- "absolute": 1.7e+308
}
], - "timeWindowViolationTaskIDs": [
- 2147483647
], - "unassignedTaskIDs": [
- 2147483647
], - "unassignableTaskIDs": [
- 2147483647
], - "history": {
- "tasks": [
- {
- "taskID": 2147483647,
- "preferences": [
- {
- "workerID": 2147483647,
- "value": 1
}
], - "preassignedWorker": 2147483647,
- "predecessorTask": 2147483647
}
]
}
}| feasible required | boolean Set to false if any restrictions are violated in the solution. |
{- "feasible": true
}A version consisting of the date of release [0-9]{4}-[0-9]{2}-[0-9]{2}_[0-9]+, which can have a patch suffix p[0-9]+.
"1970-01-01_0p0"See https://semver.org/ for a full description of semantic versioning. The regex here is a subset of allowed semantic versions.
"v1.2.3"| version | any Deprecated Value: "v1.0.0" |
| optVersion | string (FieldPlacerVersion) ^[0-9]{4}-[0-9]{2}-[0-9]{2}_[0-9]+(p[0-9]+)?$... The version of the algorithm used for calculating the result. |
| rev | string >= 7 characters An internal identifier for the algorithm version. |
| schema required | string (SemanticVersion) ^(v)?(0|([1-9][0-9]{0,4}))(\.(0|([1-9][0-9]{0... The version of the schema used for validating both request data sent via the PUT request as well as response data gotten from the GET request. |
{- "version": "v1.0.0",
- "optVersion": "1970-01-01_0p0",
- "rev": "strings",
- "schema": "v1.2.3"
}| requestID | string The identifier that allows finding input/output data, logs and more. This ID will be asked for in most non-trivial support cases so it should be stored when receiving the data. |
object (Client) Contains information about the client which sends this request. | |
required | object (FloorPlannerMeta) Meta information about what to consider in the optimization. |
required | object (FloorPlannerOptimizationParameters) Parameters for the optimizer. |
required | Array of FloorPlannerOutputTaskAssigned (object) or FloorPlannerOutputTaskUnassigned (object) (FloorPlannerOutputTask) Array of assigned and unassigned tasks. |
required | Array of objects (FloorPlannerOutputWorker) Array of available Workers. |
required | object (FloorPlannerStatistics) Some statistics about the plan. |
required | object (FloorPlannerInfo) Some textual information about the plan. |
Array of objects (Anomalies) non-empty List of all anomalies found in solution. | |
required | object (BackendVersion) Used validation/ calculation version. |
| recovery | Array of integers (IDReferences) [ items [ 0 .. 2147483647 ] ] Deprecated List of ids. |
object (DeveloperOptions) Additional debug information for developers. |
{- "requestID": "string",
- "client": {
- "clientID": "logisticscenter_a"
}, - "meta": {
- "dateFrom": "2020-04-10",
- "dateTo": "2020-04-10",
- "resCategory": false,
- "resQualification": false,
- "accuracyMode": 1.7e+308,
- "outputLanguage": 1,
- "enablePlanSplitting": true,
- "allowUnassignedTasks": false,
- "removeInvalidTasks": true,
- "minConcurrentSolutions": 1,
- "minTaskDuration": 2147483647,
- "disableTaskTimeWindowRelaxation": false
}, - "parameters": {
- "fairDistribution": 9,
- "workerPrefs": 9,
- "qualificationFitting": 9,
- "constancy": 9,
- "groupPrefs": 9
}, - "tasks": [
- {
- "taskID": 2147483647,
- "externalID": "string",
- "clientID": 2147483647,
- "date": "2020-04-10",
- "duration": 2147483647,
- "durationInSeconds": 2147483647,
- "timeEarliest": "07:25",
- "timeLatest": "07:25",
- "timePriority": 5,
- "prefWorkers": [
- 2147483647
], - "qualification": 2147483647,
- "categories": [
- 2147483647
], - "preassignedWorker": 2147483647,
- "preassignedOrder": -2147483648,
- "initassignedWorker": 2147483647,
- "initassignedOrder": 2147483647,
- "initassignedShiftID": 2147483647,
- "precedingTasks": [
- 2147483647
], - "preferredPrecedingTasks": [
- 2147483647
], - "predecessorTasks": [
- 2147483647
], - "assignmentPriority": 5,
- "preferredGroup": 2147483647,
- "desiredPredecessorGroup": 2147483647,
- "locationSiteID": 2147483647,
- "prefGender": 3,
- "exclusiveSetID": 2147483647,
- "hasStrictExclusiveSet": false,
- "timeScheduled": "07:25",
- "timeWindowViolation": -2147483648,
- "assignedWorker": 2147483647,
- "assignedShiftID": 2147483647,
- "info": "string",
- "finalassignedOrder": 1,
- "allowedWorkers": [
- 2147483647
]
}
], - "workers": [
- {
- "workerID": 2147483647,
- "shiftID": 2147483647,
- "externalID": "string",
- "shiftDate": "2020-04-10",
- "shiftStart": "07:25",
- "shiftEnd": "07:25",
- "shiftPriority": 3,
- "qualification": 2147483647,
- "categories": [
- 2147483647
], - "preferredCategories": [
- 2147483647
], - "unpreferredCategories": [
- 2147483647
], - "desiredCategories": [
- 2147483647
], - "undesiredCategories": [
- 2147483647
], - "dontVary": false,
- "dontAlter": false,
- "allowPreassignedTasksOnly": false,
- "gender": 3,
- "info": "string",
- "tourStart": "07:25",
- "tourEnd": "07:25",
- "totalTaskTime": 2147483647
}
], - "statistics": {
- "impact": [
- {
- "label": "string",
- "value": 1,
- "absolute": 1.7e+308
}
], - "timeWindowViolationTaskIDs": [
- 2147483647
], - "unassignedTaskIDs": [
- 2147483647
], - "unassignableTaskIDs": [
- 2147483647
], - "history": {
- "tasks": [
- {
- "taskID": 2147483647,
- "preferences": [
- {
- "workerID": 2147483647,
- "value": 1
}
], - "preassignedWorker": 2147483647,
- "predecessorTask": 2147483647
}
]
}
}, - "info": {
- "feasible": true
}, - "anomalies": [
- {
- "anomalyKey": "string",
- "severity": "high",
- "text": "string",
- "taskID": 2147483647,
- "workerID": 2147483647
}
], - "backendVersion": {
- "version": "v1.0.0",
- "optVersion": "1970-01-01_0p0",
- "rev": "strings",
- "schema": "v1.2.3"
}, - "recovery": [
- 2147483647
], - "developerOptions": {
- "recovery": [
- 2147483647
], - "debugSolution": "string"
}
}| schema | string Schema version against which input and output data are validated |
| version | string Version of the application that calculates solutions |
| meta_data | string Meta data version |
| api_scripts | string Version of the scripts handling requests |
{- "schema": "v1.7.0",
- "version": "2024-10-01_0",
- "meta_data": "v19",
- "api_scripts": "v1.6.2"
}| Name required | string Package name to use in the |
| LastModified | string Modification timestamp of the package, usually of the time it was uploaded at |
object (VersionInfo) |
[- {
- "Name": "a6b69c77bedb7",
- "LastModified": "2024-08-16T12:41:09.000Z",
- "Content": {
- "schema": "v2.7.0",
- "version": "2024-10-01_0",
- "meta_data": "v26"
}
}, - {
- "Name": "d63ca460db7bc",
- "LastModified": "2024-08-16T09:16:09.000Z",
- "Content": {
- "schema": "v2.3.0",
- "version": "2024-10-01_0p0",
- "meta_data": "v26"
}
}
]FloorPlannerOptimizationParameters: Updated descriptions for parameter entries.workerPrefsDeveloperOptionsErrorPlan: Added developerOptions, deprecated recoveryFloorPlannerInputPlan, FloorPlannerOutputPlan: Added developerOptions, deprecated recoveryFloorPlannerInputWorker: Added allowPreassignedTasksOnlyFloorPlannerInputTask: Updated description of preassignedWorker to better explain behaviour when there are multiple worker with the same workerIDFloorPlannerInputPlan: Updated description for history.FloorPlannerInputTask: Updated description for preassignedWorker, initassignedWorker, predecessorTasks.PredecessorChain for POST /floor-description endpointaccept and accept-encoding headers to GET /version, GET /packages-list endpoints, added 406 response code409 response code to all GET endpointsPackagesList and VersionInfo componentFloorPlannerOutput:FloorPlannerOutputPlan and ErrorPlan into one definition to use as schema in /plan GET responsecontent-type options in POST requests:application/vnd.adiutabyte.adiutaopt.json+gzipapplication/vnd.adiutabyte.adiutaopt.json+deflateapplication/vnd.adiutabyte.adiutaopt.json+braccept-encoding in GET requests with allowed values:identitydeflategzipaccept in GET requests with allowed values:application/jsonapplication/vnd.adiutabyte.adiutaopt.json+gzipapplication/vnd.adiutabyte.adiutaopt.json+deflateapplication/vnd.adiutabyte.adiutaopt.json+brversion to adiutaopt-versionBackendVersion:version to be constant "v1.0.0", marked as deprecatedoptVersion, has the same properties as version did in v4OPTIONS requestsOPTIONS requestsVersion to paths /floor-description and /floor-version/floor-packages-listFloorPlannerInputTask:exclusiveSetIDFloorPlannerInputWorker:preferredCategoriesunpreferredCategoriesdesiredCategoriesundesiredCategoriesErrorEntryFloorPlannerInputTask, FloorPlannerInputWorkerErrorPlanFloorPlannerOutputTaskAssignedFloorPlannerOutputTaskUnassignedFloorPlannerOutputWorker