getHardwareModel

The getHardwareModel method returns hardware information such as model and serial number.

Request Parameters
None
Response Parameters (return element children)
result


A result code such as internal.request.complete that describes the result. See Error Codes in the Developer's Guide for details.
hardwareModel

  • model - Model name of the hardware
  • objectId - Numerical ID for the model
  • oemModel - OEM name of the model, if it exists
  • serialNumber - Serial number
  • supportedHardware - Boolean, true if hardware is supported, false if not
  • virtualMachine - Boolean, true if hardware is is actually a virtual machine, false if not
Example Request and Response
Request Response
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <SOAP-ENV:Header xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">
        <wsa:Action>urn:getHardwareModel</wsa:Action>
        <wsa:MessageID>uuid:09b18f4c-e212-42dd-be44-c31a9ef0b123</wsa:MessageID>
        <wsa:ReplyTo>
            <wsa:Address>http://server/servlet/WSACallBackHandler</wsa:Address>
            <wsa:PortType xmlns:ns1="http://example.org">ns1:LocalPart</wsa:PortType>
        </wsa:ReplyTo>
        <wsa:To>https://server/platform-services/services/HardwareModelService.HardwareModelServiceHttpSoap11Endpoint</wsa:To>
    </SOAP-ENV:Header>
    <SOAP-ENV:Body>
        <getHardwareModel xmlns="server_url"/>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
     
								
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
	<soapenv:Header xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">
		<wsa:To>http://server/servlet/WSACallBackHandler</wsa:To>
		<wsa:MessageID>urn:uuid:4F8DCF8A8A3428F84D1297118157136</wsa:MessageID>
		<wsa:Action>urn:getHardwareModelResponse</wsa:Action>
		<wsa:RelatesTo>uuid:7a3e94dc-bcae-4e0f-9cde-950c9dcc9e5b</wsa:RelatesTo>
	</soapenv:Header>
	<soapenv:Body>
		<ns:getHardwareModelResponse xmlns:ns="http://server_url">
			<ns:return xmlns:ax221="server_url/xsd" xmlns:ax222="http://server_url/xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ax221:HardwareModelResponse">
				<ax221:result>internal.request.complete</ax221:result>
				<ax221:hardwareModel xsi:type="ax221:HardwareModel">
					<ax221:model>VMware</ax221:model>
					<ax221:objectId>1.3.6.1.4.1.9.1.1348</ax221:objectId>
					<ax221:oemModel/>
					<ax221:serialNumber>VMware-42 2e 9d 42 65 80 ac a4-49 39 ca f9 82 de b8 a5</ax221:serialNumber>
					<ax221:supportedHardware>true</ax221:supportedHardware>
					<ax221:virtualMachine>true</ax221:virtualMachine>
				</ax221:hardwareModel>
			</ns:return>
		</ns:getHardwareModelResponse>
	</soapenv:Body>
</soapenv:Envelope>