1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Getting all domains via API

Discussion in 'Plesk Expand 2.3 Troubleshooting Issues' started by Cheatah@, Jul 8, 2008.

  1. Cheatah@

    Cheatah@ Guest

    0
     
    I previously used something like the following to get the entire set of domains hosted on our shared hosting servers:
    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <packet version="2.3.0.32">
       <get>
          <filter/>
          <dataset>
             <gen_info/>
          </dataset>
       </get>
    </packet>
    
    Unfortunately I only get an empty result when we upgraded to 2.3.
    Code:
    <?xml version="1.0" encoding="UTF-8" standalone="no" ?>
    <packet version="2.3.0.32">
       <get/>
    </packet>
    
    Is there still a way to get all domains?
     
  2. Bers

    Bers Basic Pleskian Staff Member

    23
    70%
    Joined:
    Jul 31, 2001
    Messages:
    73
    Likes Received:
    0
    Please use the following xml-packet to get all domains:

    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <packet version="2.3.0.32">
       <get>
          <filter>
             <all/>
          </filter>
          <dataset>
             <gen_info/>
          </dataset>
       </get>
    </packet>
    best regards,
     
Loading...