Related Documentation
Create Incident for Suppressed Events
Use this API to create incidents for Juniper Message Bundles (JMBs) for which incidents are not created in Junos Space Service Now.
You can use this API to create incidents for one or more selected JMBs or all the JMBs for which incidents are not created.
URI
https://[host]/api/juniper/servicenow/suppressed-event-management /suppressedEvents/createIncident (HTTP method = POST)
URI Parameters
None
Consumes
- application/vnd.juniper.servicenow.suppressed-event-management.suppressedEvents+ xml;version=1;charset=UTF-8
- application/vnd.juniper.servicenow.suppressed-event-management.suppressedEvents+ JSON;version=1;charset=UTF-8
Request Elements
Element | Type | Description |
---|---|---|
applyToAllSuppressedEvents> | String | Indicates whether an incident should be created for all the JMBs for which incidents were not created Possible values
|
id | String | ID of JMBs of suppressed events for which incidents must be created |
Produces
- application/vnd.juniper.suppressed-event-management.servicenowmsg+xml;version=1
- application/vnd.juniper.suppressed-event-management.servicenowmsg+json;version=1
Response Elements
Element | Type | Description |
---|---|---|
msg | String | Message indicating the result of creating incidents for JMBs |
Sample Input
Sample XML Input
<suppressedEvents> <applyToAllSuppressedEvents>false</applyToAllSuppressedEvents> <suppressedEvent> <id>7864365</id> </suppressedEvent> </suppressedEvents>
Sample JSON Input
{ "suppressedEvents": { "applyToAllSuppressedEvents": "false", "suppressedEvent": { "id": "7864365" } } }
Sample Output
Sample XML Output
<servicenowmsg> <msg>Created Incidents for Suppressed Events successfully.</msg> </servicenowmsg>
Sample JSON Output
{ "servicenowmsg": { "msg": "Created Incidents for Suppressed Events successfully." } }