Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Copy a Service Insight Notification

 

Use this API to copy a Service Insight notification.

URI

https://[host]//api/juniper/serviceinsight/notification-management/notifications/{id}/copy (HTTP method = POST)

URI Parameters

Parameter

Type

Required

Description

id

Integer

Yes

ID of the Service Insight notification to be copied

Consumes

  • application/vnd.juniper.serviceinsight.notification-management.copyNotification+ xml;version=1

  • application/vnd.juniper.serviceinsight.notification-management.copyNotification+ json;version=1

Request Elements

Element

Type

Description

notification

notification

Service Insight notification to be copied

emails

email

Collection of e-mail IDs to which the notification must be flagged

email

String

E-mail ID to which the notification must be flagged

snmpTraps

snmpTraps

Collection of SNMP traps to which the notification must be sent

snmpTrap

snmpTrap

An SNMP trap

uri

String

URI of the SNMP trap

href

String

Link to the SNMP trap

filters

filters

Filters used by Service Insight to send the notification

organization

String

Organization used in the filter

deviceGroup

String

Device group used in the filter

deviceName

String

Device name used in the filter

serialNumber

Serial number of the device used in the notification

hasTheWords

String

String used in the filter

An object is filtered and a notification sent when the object contains the words in this element

doesnotHaveTheWords

String

Strings used in the filter

An object is filtered when the object does not contain the words in this element

tag

String

Tag used in the filter

domainId

Integer

ID of the domain to which the notification belongs

This is an optional element. The value provided in this element is ignored if the value is invalid or a domainId other than the current domainId is provided.

Produces

  • application/vnd.juniper.serviceinsight.notification-management.copyNotification+ xml;version=1

  • application/vnd.juniper.serviceinsight.notification-management.copyNotification+ json;version=1

Response Elements

Element

Type

Description

msg

String

Status message of the copy notification job

Sample Input

Sample XML Input

Sample JSON Input

Sample Output

Sample XML Output

Sample JSON Output