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

Compare with Current View Page History

« Previous Version 2 Next »

The ResetDeactivationCounter function is used to reset the deactivation counter for a license order using a specified activation key.

For example, if a license order allows for 5 deactivations and the end user has deactivated the license 5 times, resetting the activation counter will once again allow the user to deactivate the license 5 additional times.

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

Return values

On failure, the result string contains an error message. See Return codes for further information on error messages.

Example request

<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/vendor/version/2">
   <soapenv:Header/>
   <soapenv:Body>
      <ns:ResetDeactivationCounter soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
         <token xsi:type="xsd:string">dfe34ea4e14ed0be9c25002abf8b3986dd5fe22b</token>
         <activationKey xsi:type="xsd:string">KYZAV-OB4XS-ZJTN4-P2AVA</activationKey>
      </ns:ResetDeactivationCounter>
   </soapenv:Body>
</soapenv:Envelope>

Example response

<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/vendor/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:ResetDeactivationCounterResponse>
         <return xsi:type="ns1:Soap_Response">
            <result_code xsi:type="xsd:int">0</result_code>
            <result_string xsi:nil="true"/>
         </return>
      </ns1:ResetDeactivationCounterResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
  • No labels