webservice_rest api - Is it possible to specify multiple table id on Get QoS Data call ?
search cancel

webservice_rest api - Is it possible to specify multiple table id on Get QoS Data call ?

book

Article ID: 193606

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

webservice_rest api allows you to query qos table data using the Get QoS Data call.
Is it possible to specify multiple table id's on one call ?

Environment

Release : 9.0.2
Component : UIM - WEBSERVICES_REST

Resolution

The Get QoS Data call takes just one table id. 

It is up to the calling application to cycle through table id's one at a time.

The application.wadl can be interrogated for what the calls would and would not accept.

http:<ump server>:port/rest/application.wadl

In the case of this call accepting a single integer value:

<resource path="/data/tableid/{tableid}/{from}/{to}/{maxrows}">
<param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="maxrows" style="template" type="xs:int"/>
<param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="tableid" style="template" type="xs:int"/>
<param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="from" style="template" type="xs:string"/>
<param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="to" style="template" type="xs:string"/>
<method id="getDataForTableId" name="GET">