ITAM web service API - ITAMObject does not return a list
search cancel

ITAM web service API - ITAMObject does not return a list

book

Article ID: 12492

calendar_today

Updated On:

Products

CA IT Asset Manager CA Software Asset Manager (CA SAM) ASSET PORTFOLIO MGMT- SERVER CA Service Management - Asset Portfolio Management CA Service Management - Service Desk Manager

Issue/Introduction

Search Method  in  Asset Portfolio Management Web Services  

Retrieves existing objects in CA APM. This method accepts an ITAMObject (SearchDefinition) as input. There must be at least one criterion and, in that criterion, at least one SearchObject must be set. The SearchObject is used to identify the type of object for the search
 


 



How do we get a list of objects (ITAMObject) when using the Search method? 

We are able to retrieve individual objects but need to be able to get the whole list of objects.

Environment

APM 17.x

Resolution

If you set atttribute OperatorSpecified to true, example 

mySpecificCriteria.OperatorSpecified = true;

Then you can query for name like %.

 

Additional Information

The documentation for CA Asset Portfolio Management Web Services is accessible online from ITAM Product Web Interface under Administration.Web Services.