Update 7000 licenses

Comments

1 comment

  • Official comment
    Avatar
    Soraco Technologies

    Hi Volodymyr

    Yes, it is possible to do this in C# using the UpdateLicenseInfo.
    This is documented in the online help. I included the section below.

    Regards
    John

    UpdateLicenseInfo

    Updates the data associated with a license key. To use a proxy server, you must set the UseProxyServer, ProxyUser, ProxyDomain and ProxyPassword properties prior to calling this function.

    C#: bool UpdateLicenseInfo (string webServiceUrl, string activationKey, string licenseData, out string response)

    Parameters

    webServiceUrl - URL to the QLM Web service.

    activationKey- the license key to udpate

    licenseData - XML fragment containing the fields to update. The XML fragment should be of the form:

    <licenseArguments

    field1=" 'value'

    field2=" 'value' "

    </licenseArguments>

    where field1 is the name of a field in the LicenseKeys table. For fields of type date, you should use the following date/time format: yyyy-MM-dd HH:mm:ss

    Example:

    <licenseArguments

    Comment= " 'my comment' "

    UserData1=" 'my user data' "

    OrderDate=" '2008-3-12 21:14:58' "

    </licenseArguments>

    response - XML fragment containing the result of the call. The Xml fragment schema is as follows:

    <?xml version='1.0' encoding='UTF-8'?>
    <QuickLicenseManager>
    <result>Successfully updated license information for ActivationKey=XYZ.</result>
    </QuickLicenseManager>

    In the event of an error, the XML fragments returns:

    <?xml version='1.0' encoding='UTF-8'?>
    <QuickLicenseManager>
    <error>Details about the error</error>
    </QuickLicenseManager>

    Soraco Technologies
    support@soraco.co

    Comment actions Permalink

Please sign in to leave a comment.