Executors
Executors is a helper object for defining users on which the task will be created
| Attribute | Type | Description | Nullable |
|---|---|---|---|
| executorRole | Enum of string | The role of the executor. Available roles: SHOP, REGION, DIVISION, TASK_MANAGER, ROUTED_USER, USER, SUPERVISOR, COMPANY | false |
| allCompanySelected | Boolean | Whether the task is assigned to all users in the company | false |
| orgstructLevel | String | The organisational structure level of the executor | true |
| shopIds | List of integers | Identifiers of stores. Fill in depending on the selected executorRole | true |
| regionIds | List of integers | Identifiers of regions. Fill in depending on the selected executorRole | true |
| divisionIds | List of integers | Identifiers of divisions. Fill in depending on the selected executorRole | true |
| taskManagerIds | List of integers | Identifiers of task managers. Fill in depending on the selected executorRole | true |
| routedUserIds | List of integers | Identifiers of routed users. Fill in depending on the selected executorRole | true |
| supervisorIds | List of integers | Identifiers of supervisors. Fill in depending on the selected executorRole | true |
| userIds | List of integers | Identifiers of users. Fill in depending on the selected executorRole | true |
| bnIds | List of integers | Identifiers of business directions. Fill in depending on the selected executorRole | true |
| objectsToUsers | Map of integers,list of integers | Map of store (object) identifiers to their executor user IDs | true |