• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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