Response
Response is a task response object
Attribute | Type | Description | Nullable |
---|---|---|---|
id | String | Identifier | false |
taskId | Integer | Identifier of task | false |
version | Integer | Version of task response (increased every time after update of response) | true |
status | String | Current task response status: available statuses OPEN, IN_PROGRESS, CLOSED | false |
executorId | Integer | Identifier of executor user | true |
executorName | String | Full name of executor | false |
region | String | The name of the region in which the store is located for which the task response was created | false |
regionId | Integer | Identifier of the region in which the store is located for which the task response was created | true |
division | String | The name of the division in which the store is located for which the task response was created | false |
divisionId | Integer | Identifier of the division in which the store is located for which the task response was created | true |
overdue | Boolean | Flag indicating a this task is overdue | false |
observers | Boolean | List of task response observers See Observer object | false |
startDate | Timestamp in milliseconds | Date and time when task response started | true |
closeDate | Timestamp in milliseconds | Date and time when task response closed | true |
comment | String | Executor comment | true |
attachmentsCount | String | Count of attachments linked to task response | false |
minAttachmentsCount | String | The minimum number of investments that the executor must attach to task response | false |
taskLog | String | Log task response closed event | true |
executorRole | String | The type of user role on which the task was createdSHOP - director of store REGION - director of region DIVISION - director of division ROUTED_USER - routed to user USER - task to user SUPERVISOR - auditor COMPANY - user with company level | true |
supervisorComment | String | Executor comment | true |
notificationPeriod | Enum of string | Frequency of reminders for executors: daily, weekly, deadline, dayBeforeDeadline | false |
shopId | Integer | Identifier of the store for which the task response was created | true |
shopName | String | Store name which the task response was created | true |
labels | Map of string, string | Some labels for task response | true |
needApproval | Boolean | Flag indicating this task response need approval | false |
approved | Boolean | Flag indicating this task response was be approved | true |
approverName | String | Full name of user who approved task response | true |
approvalDate | Timestamp in milliseconds | Date and time when task was approved | true |
customObservers | List objects | List observers for task response. See Observer object | true |
deleted | Boolean | Flag indicating this task response was be deleted | false |
userRole | String | Current user role in task | false |
returnerId | Integer | Identifier of user who return task to work | true |