• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Question XLM API get domain from Session ID or Login name

wowi

New Pleskian
hi,
i need the customers domainname but i have only the session id and the customer login name

<packet>
<session>
<get/>
</session>
</packet>

result:
<session>
<id>f15cabb0a544df13aee1ee5b55de0530</id>
<type>JimmyJoe</type>
<ip-address>192.0.2.2</ip-address>
<login>client</login>
<login-time>2007-02-21T23:42:00</login-time>
<idle>2007-02-21T23:43:22</idle>
</session>
how i can get the Domainname from JimmyJoe via API?

thanks
wowi
 
You can try to use something like

<packet>
<webspace>
<get>
<filter>
<owner-login>JimmyJoe</owner-login>
</filter>
<dataset>
<gen_info/>
</dataset>
</get>
</webspace>
</packet>

or

<packet>
<webspace>
<get>
<filter>
<owner-login>JimmyJoe</owner-login>
</filter>
<dataset>
<hosting/>
</dataset>
</get>
</webspace>
</packet>
 
Back
Top