• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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