Account id fetching in aps package? How to get accountid of a customer into the configure section of the package?
use the below api call to fetch the accountid
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
$xml = '<methodCall> <methodName>pem.getSubscription</methodName> <params> <param> <value> <struct> <member> <name>subscription_id</name> <value> <int>'.$subscriptionid.'</int> </value> </member> <member> <name>get_resources</name> <value> <boolean>1</boolean> </value> </member> </struct> </value> </param> </params> </methodCall>'; |