The information on this page refers to SOAP version 2. This function does not exist in SOAP version 1. |
The ResetDeactivationCounter function is used to reset the deactivation counter for a license order using a specified activation key.
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
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="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
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="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> |