Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Get Events Associated with an Auto Submit Policy

 

An auto submit policy enables incidents that occur on devices to be submitted to JSS or Service Now partner automatically for creating a technical support case. Use this API to retrieve all events associated with a specific auto submit policy.

URI

https://[host]/api/juniper/servicenow/autosubmit-policy-management/autosubmitpolicies /{id}/events (HTTP method = GET)

URI Parameters

Parameter

Type

Required

Description

id

Integer

Yes

ID of the auto submit policy for which information about associated events must be retrieved

Consumes

None

Produces

  • application/vnd.juniper.servicenow.autosubmit-policy-management.events +xml;version=2

  • application/vnd.juniper.servicenow.autosubmit-policy-management.events +json;version=2

Response

Element

Type

Description

uri

String

URI to the collection of events associated with the auto submit policy

size

Integer

Number of records in the collection

event

event

An event associated with the auto submit policy

name

String

Event name.

category

String

Event category.

type

String

Event type.

Possible values:

  • Software failure

  • Hardware failure

  • Resource exhaustion

subType

String

Event subtype.

briefDescription

String

A terse description of the event.

eventDescription

String

A detailed description of the event.

minimumVersion

String

Minimum version of Junos in which event is enabled.

dampening

String

Dampening status of the event

Possible values:

  • None—An Incident is created in Service Now for each occurrence of the event.

  • Always—No incident is created in Service Now after the first occurrence of the event.

  • Dampening interval—Time interval for which an incident is not created for the event when the event recurs.

Sample Output

Sample XML Output

Sample JSON Output

Response Status Code

Message

Description

500 Internal Server Error

No events are associated with the specified auto submit policy.