Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Get Information About an Auto Submit Policy

 

Use this API to retrieve a specific auto submit policy from Junos Space Service Now.

URI

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

URI Parameters

Parameter

Type

Required

Description

id

Integer

Yes

ID of the auto submit policy for which information is to be retrieved

Consumes

None

Produces

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

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

Response

Element

Type

Description

uri

String

URI of the auto submit policy

key

Integer

ID of the auto submit policy

domainId

Integer

ID of the domain in which the auto submit policy is created

incidentsSubmitted

Integer

Number of incidents submitted through this auto submit policy

devices

Integer

Number of devices associated with the auto submit policy.

events

Integer

Number of events associated with the auto submit policy

filters

Integer

Number of auto submit filters associated with the auto submit policy

name

String

Auto submit policy name

createdBy

String

Username of person that created this auto submit policy

enabled

Boolean

Flag to indicate whether or not the auto submit policy can be used to submit incidents to JSS or Service Now partner automatically

Possible values:

  • true—The auto submit policy is can be used to submit incidents

  • false—The auto submit policy cannot be used to submit incidents

dampeningEnabled

Boolean

Flag to indicate whether or not incidents that are created for recurring events should be ignored

Possible values:

  • true—Incidents generated for recurring events are ignored

  • false—Incidents generated for recurring events are submitted to JSS or Serivce Now partner

method

String

Method applicable to the auto submit policy

devices

device

Collection of devices to which the auto submit policy is applied

device

device

A device to which the auto submit policy is applied

id

Integer

Device unique identifier

hostName

String

Device hostname

events

event

Collection of events included in the auto submit policy

size

Integer

Number of events in the collection

uri

String

Link to the collection of events included in the auto submit policy

filters

filter

Collection of filters associated with the auto submit policy

uri

String

Link to the collection of auto submit filters

submitCaseOptions

submitCaseOptions

Collection of attributes to submit an incident for creating a case

caseCCList

caseCCList

Collection of e-mail IDs of users to whom the incident details must be sent

email

String

E-mail ID of a user to whom the incident details must be sent

siteId

String

Site ID associated with the incident

caseCreationUserName

String

ID of user who is submitting the incident

followUpMethod

String

Method to use for follow up on the case

Possible values:

  • EMAIL_FULL_TEXT_UPDATE

  • EMAIL_SECURE_LINK

  • PHONE_CALL

priority

String

Priority of the incident that is being submitted for creating a case

Possible values:

  • 1 - Critical

  • 2 - High

  • 3 - Medium

  • 4 - Low

minDelaySubmissionInMins

Integer

Time duration by which service now should delay submitting an incident for creating a case

Values can be in the range of 1 – 21600 minutes.

Sample Output

Sample XML Output

Sample JSON Output

Response Status Code

Message

Description

204 Not Found

Invalid auto submit policy ID specified