UpdateLog Method

The UpdateLog method puts a message to the account log. This method allows the Activation Client to communicate any error message from the application to the activation administrator.

Syntax

C#

public UpdateLogRes UpdateLog(string ActivationKey, string LogMessage)

 

XML

<?xml version="1.0" encoding="utf-8"?>

<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

  <soap:Body>

    <UpdateLog xmlns="http://tempuri.org/">

      <ActivationKey>string</ActivationKey>

      <LogMessage>string</LogMessage>

    </UpdateLog>

  </soap:Body>

</soap:Envelope>

Parameters

ActivationKey

The Activation Key to access the account.

LogMessage

The message to be updated to the log.

Return Value

C#

public struct UpdateLogRes

{

    public int ErrorCode;

    public string ErrorMessage;

}

 

XML

<?xml version="1.0" encoding="utf-8"?>

<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

  <soap:Body>

    <UpdateLogResponse xmlns="http://tempuri.org/">

      <UpdateLogResult>

        <ErrorCode>int</ErrorCode>

        <ErrorMessage>string</ErrorMessage>

      </UpdateLogResult>

    </UpdateLogResponse>

  </soap:Body>

</soap:Envelope>

ErrorCode

Returns 0 if success; otherwise, see the Error Code.

ErrorMessage

Returns error message if the ErrorCode is not 0.