Skip to main content

Executors

Executors is a helper object for defining users on which the task will be created


AttributeTypeDescriptionNullable
executorRoleEnum of stringThe role of the executor. Available roles: SHOP, REGION, DIVISION, TASK_MANAGER, ROUTED_USER, USER, SUPERVISOR, COMPANYfalse
allCompanySelectedBooleanWhether the task is assigned to all users in the companyfalse
orgstructLevelStringThe organisational structure level of the executortrue
shopIdsList of integersIdentifiers of stores. Fill in depending on the selected executorRoletrue
regionIdsList of integersIdentifiers of regions. Fill in depending on the selected executorRoletrue
divisionIdsList of integersIdentifiers of divisions. Fill in depending on the selected executorRoletrue
taskManagerIdsList of integersIdentifiers of task managers. Fill in depending on the selected executorRoletrue
routedUserIdsList of integersIdentifiers of routed users. Fill in depending on the selected executorRoletrue
supervisorIdsList of integersIdentifiers of supervisors. Fill in depending on the selected executorRoletrue
userIdsList of integersIdentifiers of users. Fill in depending on the selected executorRoletrue
bnIdsList of integersIdentifiers of business directions. Fill in depending on the selected executorRoletrue
objectsToUsersMap of integers,list of integersMap of store (object) identifiers to their executor user IDstrue
Example:
{
"executorRole": "SHOP",
"allCompanySelected": false,
"divisionIds": [
29
],
"regionIds": [],
"shopIds": [],
"bnIds": [
1004
]
}