Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Get All Devices Having PHD

 

Use this API to retrieve all devices that have product health data (PHD) available in Junos Space Service Now.

URI

https://[host] /api/juniper/servicenow/device-analysis/phdDeviceConfigurations (HTTP method = GET)

Consumes

None

Produces

  • application/vnd.juniper.servicenow.device-analysis.phdDeviceConfigurations +json;version=1

  • application/vnd.juniper.servicenow.device-analysis.phdDeviceConfigurations +xml;version=1

Response Elements

Element

Type

Description

uri

String

URI of the collection of devices from which PHD is collected

method

String

Method applicable to devices from which PHD is collected

phdDeviceConfiguration

phdDeviceConfiguration

A device from which PHD is collected

key

Integer

ID of the device from which PHD is collected

href

String

Link to the device from which PHD is collected

domainName

String

Name of the domain to which the device belongs

deviceName

String

Name of the device

serialNumber

String

Serial number of the device

status

String

Status of PHDC on the device

Possible values:

  • Scheduled—PHD collection is scheduled to run on the device at a specified time.

  • Starting—PHD collection is starting on the device.

  • Failed—PHD collection failed to start on the device.

  • Running—PHD is collected from the device.

  • Stopping—PHD collection is currently being stopped on the device.

  • Stopped—PHD collection is stopped on the device.

  • Enabling—PHD collection is enabled on the device after being disabled.

  • Disabling—PHD collection is disabled on the device.

  • Aborting—PHD collection is currently being aborted on the device.

availableFilesCount

Integer

Number of PHD files collected from the device

startTime

String

Date and time when PHDC was started on the device

Sample Output

Sample XML Output

Sample JSON Output