The getAllDevices RESTful query in the OneClick Swagger page fails to run

book

Article ID: 192624

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

The getAllDevices RESTful query in the OneClick Swagger page fails to run. The following error is seen:

JAXBException occurred : cvc-elt.1: Cannot find the declaration of element 'ModelRequest'..

Cause

The examples in Swagger are just that, examples a user can use to develop their own custom queries. Using the examples as is may or may not provide information. It will be up to the user to modify as needed.

Environment

Release : 10.4.1

Component : Spectrum OneClick / Swagger

Resolution

Modify the examples or use you own custom code.

Additional Information

Please reference the "DX NetOps Spectrum REST API Capability (Swagger)" section of the documentation for more information.