You should retrieve components of a license key according to the following XML schema:

image 40166.gif

  • The property node is required. It specifies parameters of a license key. Data type: keyType (plesk_server.xsd).
    • The name node is required. It specifies a license key parameter name. Data type: sting.
    • The value node is required. It specifies a license key parameter value. Data type: anySimple.

An XML response packet received from server can look as follows:

<packet>
    <server>
        <get>
            <result>
                <status>ok</status>
                <key>
                    <property>
                        <name>plesk_key_id</name>
                        <value>plsk.00000000.0000</value>
                    </property>
                    <property>
                        <name>product_version</name>
                        <value>8.1</value>
                    </property>
                    ...
                </key>
            </result>
        </get>
    </server>
</packet>