Skip to main content

Update alert

PUT 

/Alert

This endpoint enforces business rules for alert status transitions:

  • Alerts can only be closed if all workflow steps are completed.
  • When closing an alert as "Reported to Authority", at least one attachment must be present.
  • Status changes are tracked for audit purposes with timestamps and user information.

Request​

Body

The request payload containing:

  • AlertId – The unique identifier of the alert to update.
  • AlertStatus – The new status to assign to the alert (e.g., InProgress, ClosedAsFalsePositive, ClosedAsReportedToAuthority).
  • ReasonForStatusChange – A descriptive reason explaining why the status is being changed.
  • UpdatedBy – The username or identifier of the user performing the update.
    alertId int32required

    The unique identifier of the alert.

    alertStatus int32required

    Possible values: [0, 1, 2, 3, 4, 5]

    The current status of the alert.

    reasonForStatusChange stringnullablerequired

    The reason provided for the status change.

    updatedBy stringnullablerequired

    The username or identifier of the user who last updated this record.

Responses​

OK

Schema
    createdBy stringnullablerequired

    The username or identifier of the user who created this record.

    updatedBy stringnullablerequired

    The username or identifier of the user who last updated this record.

    createdAt date-timenullablerequired

    The date and time when this record was created.

    updatedAt date-timenullablerequired

    The date and time when this record was last updated.

    id int32required

    The unique identifier of this record.

    alertType int32required

    Possible values: [0, 1, 2]

    The type classification of the alert.

    transactionCode stringnullablerequired

    The code of the transaction that triggered this alert.

    customerCode stringnullablerequired

    The unique code identifying the customer.

    description stringnullablerequired

    A textual description providing additional details.

    alertName stringnullablerequired

    The display name of the alert.

    priority int32required

    Possible values: [0, 1, 2, 3]

    The priority level assigned to the alert or action.

    status int32required

    Possible values: [0, 1, 2, 3, 4, 5]

    The current status of this entity.

    userGroupCode stringnullablerequired

    The code of the user group assigned to handle this alert.

    totalStepsCount int32required

    The total number of workflow steps associated with this alert.

    completedStepsCount int32required

    The number of workflow steps that have been completed.

    stepCompletion stringnullablerequired

    A textual representation of step completion progress (e.g., '2/5').

    comments object[]nullable

    The list of comments associated with this record.

  • Array [
  • id int32required

    The unique identifier of this record.

    text stringnullablerequired

    The text content.

    createdBy stringnullablerequired

    The username or identifier of the user who created this record.

    createdAt date-timenullablerequired

    The date and time when this record was created.

  • ]
Loading...