View Source

This example provides you code snippets for RPC calls for getting licenses.


{noformat}
#### For getting licenses
#### Make RPC Call Start ####

$xmlrpc_msg = new xmlrpcmsg('licensing.getLicense', array(
new xmlrpcval($licPool, 'string')
));
$reply = $client->send($xmlrpc_msg);
#### Make RPC Call End ####


{noformat}


h4. Output
{noformat}
Array

(

[Enabled] => 1
[CDP 3 Generic Agents Available] => 3
[CDP 3 MySql Backups Capacity] => 13
[unknown Available] => 0
[ID] => xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
[CDP 3 MySql Backups Available] => 5
[unknown Capacity] => 0
[CDP 3 Generic Agents Capacity] => 13

)

{noformat}