What is the Spectrum REST API call to pull system information for all devices in Spectrum.
search cancel

What is the Spectrum REST API call to pull system information for all devices in Spectrum.

book

Article ID: 399983

calendar_today

Updated On:

Products

Network Observability Spectrum

Issue/Introduction

What is the appropriate REST API call to pull the following informtion for all devices in Spectrum. 

System Name

Contact

Device Location

Device Type

Environment

DX NetOps Spectrum: All releases

Resolution

 

System Name - Internal_SysName - 0x133f4

Contact - ContactPerson - 0x23000c

Device Loccation - Location - 0x23000d

Device Type - DeviceType - 0x230000e

These are all internal attributes.

 

The REST query uses the HTTP GET method and would look like the following:

(http/https)://OneClickHostName:<port>/spectrum/restful/devices/?attr=0x133f4&attr=0x23000c&attr=0x23000d&attr=0x23000e