Previous Topic: GetQueryNext Topic: OpenQueryList


More Information:

QueryResultProperties

QueryResultPropertiesRequired

GetQueryResults

The GetQueryResults method retrieves the result objects from a query result list.

Parameters

xsd:string sessionId (m)

The session identifier.

xsd:long listHandle (m)

A numeric handle to a list returned by a previous call to OpenQueryResultList.

xsd:long noOfResults (m)

The total number of results to get from the list. This is less than or equal to the total number in the list returned by a previous call to OpenQueryResultList.

Return Values

ArrayOfQueryResultProperties GetQueryResultsReturn

An array of QueryResultProperties - one for each result requested from the list.

Remarks

You can make multiple calls to GetQueryResults to iterate down the list.

GetOSTypesXML

This method returns the operating system class IDs and names in XML format.

Parameters

xsd:string sessionId

Session Id. got from the login to the web service.

dsm:ArrayOfInt classIds

If NULL, it returns the entire hierarchy of class IDs and names. If valid classIds are supplied, the tree hierarchy starting from the supplied ones will be returned.

For example, if you want all Windows 7 related class IDs, specify value 5156. The response would be in the following format:

<OSTypes>
<OS name="Windows 7" classID="5156">
<OS name="Windows Embedded Standard 7 X64 Edition" classID="5255"/>	<OS name="Windows Embedded Standard 7 Edition" classID="5254"/>	<OS name="Windows 7 Ultimate x64 Edition" classID="5167"/>		<OS name="Windows 7 Ultimate" classID="5166"/>				<OS name="Windows 7 Home Basic x64 Edition" classID="5165"/>			<OS name="Windows 7 Home Basic" classID="5164"/>				<OS name="Windows 7 Starter" classID="5163"/>					<OS name="Windows 7 Professional x64 Edition" classID="5162"/>			<OS name="Windows 7 Professional" classID="5161"/>				<OS name="Windows 7 Home Premium x64 Edition" classID="5160"/>		<OS name="Windows 7 Home Premium" classID="5159"/>			<OS name="Windows 7 Enterprise x64 Edition" classID="5158"/>			<OS name="Windows 7 Enterprise" classID="5157"/>
</OS>
</OSTypes>

Return Values

xsd:string osTypesXML

Operating system class IDs and names in XML format.