Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Get Devices Associated With an Auto Submit Policy

 

An auto submit policy enables incidents that occur on devices to be submitted to Juniper Support Systems (JSS) or Service Now partner automatically for creating a technical support case.

Use this API to retrieve all devices associated with a specific auto submit policy.

URI

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

URI Parameters

Parameter

Type

Required

Description

id

Integer

Yes

ID of the auto submit policy for which information about associated devices are to be retrieved

Consumes

None

Produces

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

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

Response Elements

Element

Type

Description

uri

String

Link to the collection of devices associated with the auto submit policy

device

device

A device in the collection

key

Integer

ID of the device

href

String

Link to the device

hostName

Integer

Device hostname

Sample Output

Sample XML Output

Sample JSON Output

Response Status Code

Message

Description

500 Internal Server Error

No devices are associated with the specified auto submit policy.