Notifications

List

get

Retrieves all notification configurations.

Query parameters
SiteIdinteger · int32Optional

Site ID for which to retrieve notifications (optional)

Responses
chevron-right
200

Success

application/json; api-version=1.0

Notification

idinteger · int32Optional

ID of the object.

adminCreatestring · nullableOptional

User who created the object.

adminLastModstring · nullableOptional

User who last modified the object.

timeCreatestring · date-timeOptional

Time when the object was created.

timeLastModstring · date-timeOptional

Time when the object was last modified.

siteIdinteger · int32Optional
enabledbooleanOptional
hasThresholdbooleanOptional
typestring · enumOptional

Type of notification

Possible values:
recipientsstring · nullableOptional
executeScriptbooleanOptional
scriptIdinteger · int32Optional
sendEmailbooleanOptional
gracePeriodinteger · int32Optional
enableGracePeriodbooleanOptional
intervalinteger · int32Optional
enableIntervalbooleanOptional
waitUntilRecoveredbooleanOptional
allServersbooleanOptional
targetTypestring · enumOptional

Target Type

Possible values:
targetIdsinteger · int32[] · nullableOptional
get
/api/Notifications

Get

get

Retrieves a notification configuration.

Path parameters
idinteger · int32Required

Notification ID

Responses
chevron-right
200

Success

application/json; api-version=1.0

Notification Event Criteria

idinteger · int32Optional

ID of the object.

adminCreatestring · nullableOptional

User who created the object.

adminLastModstring · nullableOptional

User who last modified the object.

timeCreatestring · date-timeOptional

Time when the object was created.

timeLastModstring · date-timeOptional

Time when the object was last modified.

siteIdinteger · int32Optional
enabledbooleanOptional
hasThresholdbooleanOptional
typestring · enumOptional

Type of notification

Possible values:
recipientsstring · nullableOptional
executeScriptbooleanOptional
scriptIdinteger · int32Optional
sendEmailbooleanOptional
gracePeriodinteger · int32Optional
enableGracePeriodbooleanOptional
intervalinteger · int32Optional
enableIntervalbooleanOptional
waitUntilRecoveredbooleanOptional
allServersbooleanOptional
targetTypestring · enumOptional

Target Type

Possible values:
targetIdsinteger · int32[] · nullableOptional
get
/api/Notifications/{id}

Delete

delete

Delete a notification by ID.

Path parameters
idinteger · int32Required

Notification ID

Responses
delete
/api/Notifications/{id}

No content