Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The DeactivateLicenseOrder function is used to deactivate a license.

This function requires an activation key, which can be obtained using the GetLicenseOrderList function, and a token, which is obtained using the Login function.

Return values

On failure, an error message is given in the return section. See Return codes for further information on error messages.

Example request:

No Format
<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="http://www.lac2.pl:8080/soap/type/vendor/version/1">
   <soapenv:Header/>
   <soapenv:Body>
      <ns:DeactivateLicenseOrder soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
         <token xsi:type="xsd:string">e84b130bcd3fdf26644064098acdf9f3e5a3bfaa </token>
         <activationKey xsi:type="xsd:string">8YIVD-UGBMH-O77N6-4TPD6</activationKey>
      </ns:DeactivateLicenseOrder>
   </soapenv:Body>
</soapenv:Envelope>

Example response:

No Format
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="http://www.lac2.pl:8080/soap/type/vendor/version/1"
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:DeactivateLicenseOrderResponse>
         <return xsi:type="ns1:Soap_Response">
            <result_code xsi:type="xsd:int">0</result_code>
            <result_string xsi:nil="true"/>
         </return>
      </ns1:DeactivateLicenseOrderResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>