getSwitchVersionStatus

The getSwitchVersionStatus method returns the status of the last switchVersions method call. It works exactly like RestartSystemStatus. This getSwitchVersion service call causes the server to reboot, it is possible that the reboot takes place before the server can respond to the call, making the response for this call unreliable.

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.
switchVersionStatus


The current restart status in this form:
internal.request.status

The status can be either:
internal.request.processing - The switch version is still in progress
internal.request.complete - The switch version has completed
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:getSwitchVersionStatus</wsa:Action>
		<wsa:MessageID>uuid:48f27b57-628b-48b2-9bb3-5b696149ba85</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/SwitchVersionStatusService.SwitchVersionStatusServiceHttpSoap11Endpoint</wsa:To>
	</SOAP-ENV:Header>
	<SOAP-ENV:Body>
		<getSwitchVersionStatus 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:7AE2E8A25ED9B04B3B1299542867309</wsa:MessageID>
		<wsa:Action>urn:getSwitchVersionStatusResponse</wsa:Action>
		<wsa:RelatesTo>uuid:3e4b6b55-dce4-4232-a4e0-70a064b20bf7</wsa:RelatesTo>
	</soapenv:Header>
	<soapenv:Body>
		<ns:getSwitchVersionStatusResponse xmlns:ns="server_url">
			<ns:return xmlns:ax260="server_url/xsd" xmlns:ax259="server_url/xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ax259:SwitchVersionStatusResponse">
				<ax259:result>internal.request.complete</ax259:result>
				<ax259:switchVersionStatus>internal.request.complete</ax259:switchVersionStatus>
			</ns:return>
		</ns:getSwitchVersionStatusResponse>
	</soapenv:Body>
</soapenv:Envelope>