You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

The LicenseRemovalConfirm function confirms that a request to remove a license from a host was successful. This function requires an activation key and a HostID. 

The result string for LicenseRemovalConfirm will contain SUCCESS if the removal of the license from the host was confirmed or will contain an error message if unsuccessful. See Return Codes for further information on error messages.

Example request for LicenseRemovalConfirm

<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:ns="https://license.x-formation.com/soap/type/enduser/version/2">
   <soapenv:Header/>
   <soapenv:Body>
      <ns:LicenseRemovalConfirm soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
         <activationKey xsi:type="xsd:string">GTVU3-J6W0U-030QX-5IM19</activationKey>
         <hostid xsi:type="xsd:string">ETHERNET=123</hostid>
      </ns:LicenseRemovalConfirm>
   </soapenv:Body>
</soapenv:Envelope>

Example response from LicenseRemovalConfirm

<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" 
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:ns1="https://license.x-formation.com/soap/type/enduser/version/2" 
xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
   <SOAP-ENV:Body>
      <ns1:LicenseRemovalConfirmResponse>
         <return xsi:type="ns1:Soap_Response">
            <result_code xsi:type="xsd:int">0</result_code>
            <result_string xsi:nil="true"/>
         </return>
      </ns1:LicenseRemovalConfirmResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
  • No labels