Events

List

get

Retrieves all notification events configurations

Query parameters
SiteIdinteger · int32Optional

Site ID for which to retrieve notification events (optional)

Responses
200

Success

application/json; api-version=1.0
get
/api/Notifications/Events

Create

post

A configuration of an event notification such as license activation, agent disconnect/connect etc

Body
siteIdinteger · int32Optional

Site ID where notification event is setup. Current site ID is used if siteId is omitted.

gracePeriodinteger · int32Optional

Grace period after the notification was done (minutes).

enableGracePeriodbooleanOptional

Enable/Disable grace period.

recipientsstring[] | nullableOptional

Recipients to notify of the event.

sendEmailbooleanOptional

Enable/Disable email notification.

scriptIdinteger · int32Optional

Script to execute which has this ID.

executeScriptbooleanOptionalDefault: false
intervalinteger · int32Optional

Invocation interval (minutes).

enableIntervalbooleanOptional

Enable/Disable notification intervals.

Default: false
waitUntilRecoveredbooleanOptional

Wait until recovered.

Default: false
allServersboolean | nullableOptional

All servers in site.

targetTypestring · enumOptional

Target Type

Possible values:
targetIdsinteger · int32[] | nullableOptional

Target Ids.

typestring · enumRequired

RAS Notification Event Type

Possible values:
Responses
post
/api/Notifications/Events

Get

get

Retrieves a notification event by ID

Path parameters
idinteger · int32Required

Notification event ID

Responses
200

Success

application/json; api-version=1.0
get
/api/Notifications/{id}/Events

Update

put

Update event notification by ID.

Path parameters
idinteger · int32Required

Event notification ID

Body
enabledboolean | nullableOptional

Enable/Disable notification.

gracePeriodinteger · int32 | nullableOptional

Notification grace period (minutes).

enableGracePeriodboolean | nullableOptional

Enable/Disable grace period.

recipientsstring[] | nullableOptional

Notification recipients.

sendEmailboolean | nullableOptional

Enable/Disable email notification.

scriptIdinteger · int32 | nullableOptional

Use script of given ID.

executeScriptboolean | nullableOptional

Enable/Disable notification scripts.

intervalinteger · int32 | nullableOptional

Notification interval (minutes).

enableIntervalboolean | nullableOptional

Enable/Disable notification intervals.

waitUntilRecoveredboolean | nullableOptional

Wait until recovered.

allServersboolean | nullableOptional

All servers in site.

targetTypestring · enumOptional

Target Type

Possible values:
targetIdsinteger · int32[] | nullableOptional

Target IDs.

Responses
put
/api/Notifications/{id}/Events

No content

Delete

delete

Delete an event notification by ID.

Path parameters
idinteger · int32Required

Event notification ID

Responses
delete
/api/Notifications/{id}/Events

No content

Was this helpful?