View Source

This is an example of an RPC call code snippet for enabling a pool/specific license.
{noformat}
#### For enabling the pool/specific license
#### Make RPC Call Start ####
$xmlrpc_msg = new xmlrpcmsg('licensing.enableLicense', array(
new xmlrpcval($licPool, 'string')
));
$reply = $client->send($xmlrpc_msg);
#### Make RPC Call End ####


{noformat}

h4. Response Example

Here is an example of a response to the XML-RPC request:
{code}Array (
[Enabled] => 1
[License Pool ID] => 345345345-d986-4ec5-be53-345345345345
[Product] => Enterprise Edition (Linux)
[Type] => Pooled License
[Installed] =>
[ID] => 34534534-7e99-4793-be36-34534534534
[Physical Servers] => 1 )
{code}