Adding a Pingable device using the Restful API fails for Spectrum
search cancel

Adding a Pingable device using the Restful API fails for Spectrum

book

Article ID: 197501

calendar_today

Updated On:

Products

Spectrum

Issue/Introduction

Using Post Model in the Restful API fails when adding model type handle 0x10290 (Pingable) and an IP address.

Cause

The ip address needs to be added as an attribute and then add the value for the ip address.

Resolution

The ip address needs to be added as an attribute and then add the value for the ip address
&attr=0x12d7f&val=x.x.x.x

http://localhost/spectrum/restful/model?mtypeid=0x00010290&parentmh=0x4000000&attr=0x12d7f&val=x.x.x.x

where x.x.x.x is the ip address. It is discussed in the Spectrum documentation and the NetOps communities.