3.6.5.2.1 POST

This API enables an ignored alert. The alert is identified by the alert key. 

This operation is transported by an HTTP POST.

The operation can be invoked through the following URI:

 https://<serverName>/services/builtin/AlertManagement.svc/alert/enable?alertkey={alertkey}

The request message for this operation contains the following HTTP headers.

Request header

Usage

Value

Canary

Optional

The user token. Client MUST either pass this header to the server or pass all of the following headers to the server.  For more details, refer to section 2.2.2.5.

Authorization

Optional

The caller's credential is encoded text that is based on user name and password. For more details, refer to section 2.2.2.4.

AppName

Optional

The client application name. For more details, refer to section 2.2.2.1.

AppVersion

Optional

The client application version. For more details, refer to section 2.2.2.3.

AppPublisherName

Optional

The client application publisher name. For more details, refer to section 2.2.2.2.

The response message for this operation can result in the following status codes.

Status code

Description

200

The operation successfully completed.

400

One or more parameters are not valid.

401

Access to the requested resource is denied.

404

The alert specified by the alert key does not exist.