Article ID: 128514, created on Mar 6, 2016, last review on Mar 6, 2016

  • Applies to:
  • Plesk Automation 11.5

Symptoms

Is their an API-request for getting a list of accounts (per reseller) and one for getting a list of subscriptions per account?

Resolution

To obtain a list of accounts which belong to a vendor use pem.getVendorCustomers:

http://download.pa.parallels.com/poa/5.5/doc/index.htm?fileName=64582.htm

To obtain a list of customer's subscription use pem.getAccountSubscriptions:

http://download.pa.parallels.com/poa/5.5/doc/index.htm?fileName=7913.htm

Examples:

pem.getVendorCustomers:

<?xml version="1.0"?>
<methodCall>
  <methodName>pem.getVendorCustomers</methodName>
  <params>
    <param>
      <value>
         <struct>
          <member>
            <name>vendor_id</name>
            <value><int>1</int></value >
          </member>
         </struct>
      </value>
    </param>
  </params>
</methodCall>

pem.getAccountSubscriptions:

<?xml version="1.0"?>
<methodCall>
  <methodName>pem.getAccountSubscriptions</methodName>
  <params>
    <param>
      <value>
         <struct>
          <member>
            <name>account_id</name>
            <value><int>33</int></value >
          </member>
         </struct>
      </value>
    </param>
  </params>
</methodCall>

Search Words

list of subscriptions by account

api list

API

list of accounts

Domain usage per subscription

33a70544d00d562bbc5b17762c4ed2b3 caea8340e2d186a540518d08602aa065 e0aff7830fa22f92062ee4db78133079

Email subscription for changes to this article
Save as PDF