• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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