![]() ![]() |
Reference Type: Supported, Category: Alerts, ICR#: 10081
The DELETE^XQALERT API deletes (clears) a single alert, for the current user (XQAKILL=1)
or all recipients (XQAKILL=0 or XQAKILL undefined). The current user (as
identified by the value of DUZ) does not need to be a recipient of an
alert; however, in that case, only a value of zero (0 or undefined) for
XQAKILL makes sense.
DELETE^XQALERT, unlike
DELETEA^XQALERT, deletes
only a single alert whose alert identifier matches the complete Alert
Identifier.
REF: For more information on alert identifiers, see the "Package Identifier versus Alert Identifier"
section in the
Kernel 8.0 & Kernel Toolkit 7.3 Developer's Guide.
DELETE^XQALERT
Make sure to perform the following steps before calling this API:
XQAID: |
(required) Alert Identifier of the alert to delete. It must be a complete Alert Identifier, containing all three semicolon pieces:
NOTE: The second and third pieces are defined by the Alert Handler. |
XQAKILL: |
(optional) XQAKILL determines how the alert is deleted:
If the software application identifier portion of the alert identifier is "NO-ID", however, the alert is treated as if XQAKILL were set to 1 (i.e., the alert is deleted only from one user), regardless of how it is actually set. |
none. |
|