| alertId required | integer <int32> Alert id |
| Accept-Language | string The ISO 639-1 language to use for localizable data. |
OK
Bad Request
Unauthorized
Forbidden
Not Found
UnprocessableEntity
Internal Server Error
{- "id": 0,
- "name": "string",
- "productIds": [
- 0
], - "isActive": true,
- "owner": "string"
}| conditionId required | integer <int32> Condition id |
| Accept-Language | string The ISO 639-1 language to use for localizable data. |
OK
Bad Request
Unauthorized
Forbidden
Not Found
UnprocessableEntity
Internal Server Error
{- "id": 0,
- "objectGraphDataSource": "string",
- "alertDefinitionId": 0,
- "hasCustomScript": true,
- "objectGraphNavigationPathLeft": "string",
- "objectGraphNavigationPathRight": "string",
- "objectGraphRootNode": "string",
- "operator": "string",
- "testingOperator": "string",
- "threshold": 0
}| conditionId required | integer <int32> The condition id to update |
| Accept-Language | string The ISO 639-1 language to use for localizable data. |
The condition data to use for update
| id | integer <int32> |
| objectGraphDataSource | string Nullable |
| alertDefinitionId | integer <int32> |
| hasCustomScript | boolean |
| objectGraphNavigationPathLeft | string Nullable |
| objectGraphNavigationPathRight | string Nullable |
| objectGraphRootNode | string Nullable |
| operator | string Nullable |
| testingOperator | string Nullable |
| threshold | number <double> Nullable |
OK
Bad Request
Unauthorized
Forbidden
Not Found
UnprocessableEntity
Internal Server Error
{- "id": 0,
- "objectGraphDataSource": "string",
- "alertDefinitionId": 0,
- "hasCustomScript": true,
- "objectGraphNavigationPathLeft": "string",
- "objectGraphNavigationPathRight": "string",
- "objectGraphRootNode": "string",
- "operator": "string",
- "testingOperator": "string",
- "threshold": 0
}{- "code": "BadRequest",
- "subCode": "NA",
- "message": "The request was not in the required format",
- "correlationId": "30d3ebc0b5cb47b0889850bbdfe4aec6"
}| alertId required | integer <int32> Alert id |
| Accept-Language | string The ISO 639-1 language to use for localizable data. |
OK
Bad Request
Unauthorized
Forbidden
Not Found
UnprocessableEntity
Internal Server Error
[- {
- "id": 0,
- "objectGraphDataSource": "string",
- "alertDefinitionId": 0,
- "hasCustomScript": true,
- "objectGraphNavigationPathLeft": "string",
- "objectGraphNavigationPathRight": "string",
- "objectGraphRootNode": "string",
- "operator": "string",
- "testingOperator": "string",
- "threshold": 0
}
]Searches for alerts based on specified conditions and gets a paged list of matching alerts in the system
| Accept-Language | string The ISO 639-1 language to use for localizable data. |
The parameter DTO
| sortColumnName | string (AlertSortableColumn) Enum: "Id" "Name" "IsActive" "CreatedBy" |
| sortDirection | string (SortDirection) Enum: "Asc" "Desc" |
| searchTerm | string Nullable Search term to look for |
| page | integer <int32> The result page number, starting by 1 |
| pageSize | integer <int32> The number of items in a result page |
OK
Bad Request
Unauthorized
Forbidden
Not Found
UnprocessableEntity
Internal Server Error
{- "sortColumnName": "Id",
- "sortDirection": "Asc",
- "searchTerm": "string",
- "page": 0,
- "pageSize": 0
}{- "alerts": [
- {
- "id": 0,
- "name": "string",
- "productIds": [
- 0
], - "isActive": true,
- "owner": "string"
}
], - "totalNumberOfResults": 0
}