Automations / Update
Updates one automation rule.
Route: /api/{tenant:minlength(2)}/v{version:apiVersion}/automations/{id}
Method: PUT
Authorisation: Minimum role: ADMIN
Request Arguments
Request body example
Response object
Response status: 200 (OK)
Response type:
DTO_automation
Wrapper: DTO_response_wrap
Other response statuses: 400 (BadRequest), 403 (Forbidden)
Response body example
DTO_automation_condition_group
DTO_automation_value
| Name | Type | ReadOnly | Description |
| id | Int32 | | The id of the reference |
| label | Object | | Label |
DTO_reference_user
| Name | Type | ReadOnly | Description |
| profile_pic | String | ReadOnly | Profile pic |
| email | String | ReadOnly | Email |
| id | Int32 | | Id |
| label | Object | ReadOnly | Label |
ENUM automation_conditions_operator
| Value | Name | Description |
| 0 | UNKNOWN | UNKNOWN |
| 1 | AND | AND |
| 2 | OR | OR |
ENUM automation_condition_type
| Value | Name | Description |
| 0 | UNKNOWN | UNKNOWN |
| 1 | CONTAINS | Contains |
| 2 | NOT_CONTAINS | Doesn't contain |
| 3 | EQUAL | Equals |
| 4 | NOT_EQUAL | Not equal |
| 5 | CHANGED_TO_EQUAL | Only for update triggers |
| 6 | CHANGED_TO_NOT_EQUAL | Only for update triggers |
| 7 | AI_EVALUATED | Only for create trigger in combination with specific "any" key |
ENUM automation_action_type
| Value | Name | Description |
| 0 | UNKNOWN | UNKNOWN |
| 1 | SET_VALUE | Set value |
| 2 | SET_SLA | Set SLA |
| 3 | SEND_NOTIFICATION | Send notification |
ENUM automation_trigger_by
| Value | Name | Description |
| 0 | UNKNOWN | UNKNOWN |
| 1 | TICKET_NEW | New ticket |
| 2 | TICKET_UPDATE | Ticket update |
| 2 | TICKET_SLA_BREACH | Ticket update |
ENUM automation_type
| Value | Name | Description |
| 0 | UNKNOWN | UNKNOWN |
| 1 | SYS_LOCKED_SETTINGS | Only the values can be changed |
| 2 | CUSTOM | Custom |