Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Get All Incidents in Service Now

 

Use this API to retrieve all incidents in Junos Space Service Now chronologically by organization name and device group.

URI

https://[host]/api/juniper/servicenow/incident-management/incidents (HTTP method = GET)

URI Parameters

None.

Consumes

None

Produces

  • application/vnd.juniper.servicenow.incident-management.incidents+xml;version=4

  • application/vnd.juniper.servicenow.incident-management.incidents+json;version=4

Response

Element

Type

Description

uri

String

URI to the collection of incidents in Service Now

size

Integer

Number of records in the collection

incident

incident

An incident in the collection

href

String

Link to the incident

uri

String

URI of the incident

key

Integer

ID of the incident

organizationName

String

Name of the organization to which this incident is assigned

organizationID

Integer

ID of the organizaiton associated with the incident

deviceGroupName

String

Name of the device group to which this incident is assigned

deviceGroupID

Integer

Device group ID

priority

String

Incident priority

defectType

String

Type of defect on the event that triggered this incident

incidentType

String

Type of event for which the incident was generated

Possible values:

  • Event—indicates that an event is detected on the Service Now managed devices.

  • On-demand—Indicates that the incident created is an on-demand incident.

  • Event-RMA—indicates that an RMA event is detected on the Service Now managed devices.

  • Event (low end)—indicates that the JMB generated on a device is a low impact JMB. User can manually collect troubleshooting data and update case through Case Manager or Service Now.

  • On-demand RMA—Indicates that the RMA event detected on the device is an on-demand event.

  • AIS Health Check—Indicates the incident is created in response to a JMB collected to obtain information about AI-Scripts error.

hostName

String

Hostname of the device with which the incident is associated

deviceId

Integer

ID of the device with which the incident is associated

product

String

Product type of the device on which this incident occurred

status

String

Status of the Incident

The possible values are:

  • Not Submitted—Incident is not submitted to Juniper Support System (JSS)

  • Submitted—Incident is submitted to JSS

  • Created—A case is created for the incident and an ID is assigned to the case in JSS

  • Updated—The case ID of the incident is updated in JSS

  • Create Failed—A case could not be created in JSS for the incident

  • Closed—The case is closed in JSS

  • Submission Failed—The incident could not be submitted to JSS for creating a case

  • Associated to a Case—The incident is associated with a case

customerTrackingNumber

String

Number provided for tracking the case created in JSS for the incident.

occurred

String

Date and time the incident was reported

prbIdentifier

String

ID of the event that occurred on the device

Output

Example XML Output

Example JSON Output

Response Status Code

Message

Description

204 No Content

No incidents found.