FLEXNET OPERATIONS SOAP WEB SERVICES GUIDE

FlexNet Operations Web Services Guide

Method: getHostCount

Description

This operation returns the number of hosts that match specified criteria. The following search criteria are available: Host ID, Sold To, Account, License Technology, and Host Type.

This operation is equivalent to displaying the number of hosts that fit certain criteria by filtering hosts using the Search for field on the Support Licenses and Maintenance page in the FlexNet Operations Producer Portal.

Tip:The returned number can be used as the batch size input for getHostQuery.

Parameters
Name  Type  Direction  Description 
msgparameters  getHostCountRequestType  Input   
Returns

A getHostCountResponse element having the structure defined by the following table.

Name  Type  Description 
statusInfo  StatusInfoType 

Returns one of the following:

  • SUCCESS—All items in the request were processed.

  • PARTIAL_FAILURE—Some, but not all, items in the request were processed. The getCount and getQuery operations never return PARTIAL_FAILURE.

  • FAILURE—None of the items in the request were processed.

A string will give the reason for a failure or partial failure.

responseData  getHostCountResponseDataType  Contains an integer count element.