Send:
<?xml version="1.0" encoding="utf-8"?>
<webstekker>
<request service="userDetails">
<reseller>
<accountNumber>WSR1234</accountNumber>
<password>resellerpassword</password>
</reseller>
<userlist>
<user>USR001</user>
<user>USR005</user>
<user>USR004</user>
<user>USR002</user>
</userlist>
</request>
</webstekker>
open XML in a new window
Receive - Succesfull:
<?xml version="1.0" encoding="utf-8"?>
<webstekker>
<response success="1">
<user id="USR001">
<profile>
<status id="0">Active</status>
<title>Mr</title>
<firstname>John</firstname>
<lastname>Doe</lastname>
<companyname></companyname>
<address1>Straat 15</address1>
<address2></address2>
<address3></address3>
<town>Amsterdam</town>
<county>Noord-holland</county>
<countrycode>NL</countrycode>
<postcode>1000 AA</postcode>
<daytimephone>020-1234567</daytimephone>
<eveningphone>020-1234567</eveningphone>
<mobilephone>06-12345678</mobilephone>
<faxnumber></faxnumber>
<primaryemail>john.doe@example.com</primaryemail>
<secondaryemail></secondaryemail>
<password>B24AC1EEC9438456C695F9ED54C</password>
<lastmodified>9/18/2007 2:01:30 PM</lastmodified>
</profile>
<package id="12345">
<friendlyname>Hosting</friendlyname>
<hostingplan id="1234">Bighostingpackage</hostingplan>
<status value="0">Active</status>
<domain id="12345">
<domainname>example.org</domainname>
<status value="0">Active</status>
<alias id="54321">example.net</alias>
</domain>
<domain id="23456">
<domainname>example.com</domainname>
<status value="0">Active</status>
</domain>
</package>
</user>
<user id="USR002">
<profile>
<status id="0">Active</status>
<title>Mr</title>
<firstname>John</firstname>
<lastname>Doe</lastname>
<companyname></companyname>
<address1>Straat 15</address1>
<address2></address2>
<address3></address3>
<town>Amsterdam</town>
<county>Noord-holland</county>
<countrycode>NL</countrycode>
<postcode>1000 AA</postcode>
<daytimephone>020-1234567</daytimephone>
<eveningphone>020-1234567</eveningphone>
<mobilephone>06-12345678</mobilephone>
<faxnumber></faxnumber>
<primaryemail>john.doe@example.com</primaryemail>
<secondaryemail></secondaryemail>
<password>B24AC1EEC9438456C695F9ED54C</password>
<lastmodified>9/18/2007 2:01:30 PM</lastmodified>
</profile>
<package id="12345">
<friendlyname>Hosting</friendlyname>
<hostingplan id="1234">Bighostingpackage</hostingplan>
<status value="0">Active</status>
<domain id="12345">
<domainname>example.org</domainname>
<status value="0">Active</status>
<alias id="54321">example.net</alias>
</domain>
<domain id="23456">
<domainname>example.com</domainname>
<status value="0">Active</status>
</domain>
</package>
</user>
<user id="USR003">
<profile>
<status id="0">Active</status>
<title>Mr</title>
<firstname>John</firstname>
<lastname>Doe</lastname>
<companyname></companyname>
<address1>Straat 15</address1>
<address2></address2>
<address3></address3>
<town>Amsterdam</town>
<county>Noord-holland</county>
<countrycode>NL</countrycode>
<postcode>1000 AA</postcode>
<daytimephone>020-1234567</daytimephone>
<eveningphone>020-1234567</eveningphone>
<mobilephone>06-12345678</mobilephone>
<faxnumber></faxnumber>
<primaryemail>john.doe@example.com</primaryemail>
<secondaryemail></secondaryemail>
<password>B24AC1EEC9438456C695F9ED54C</password>
<lastmodified>9/18/2007 2:01:30 PM</lastmodified>
</profile>
<package id="12345">
<friendlyname>Hosting</friendlyname>
<hostingplan id="1234">Bighostingpackage</hostingplan>
<status value="0">Active</status>
<domain id="12345">
<domainname>example.org</domainname>
<status value="0">Active</status>
<alias id="54321">example.net</alias>
</domain>
<domain id="23456">
<domainname>example.com</domainname>
<status value="0">Active</status>
</domain>
</package>
</user>
<user id="USR004">
<profile>
<status id="0">Active</status>
<title>Mr</title>
<firstname>John</firstname>
<lastname>Doe</lastname>
<companyname></companyname>
<address1>Straat 15</address1>
<address2></address2>
<address3></address3>
<town>Amsterdam</town>
<county>Noord-holland</county>
<countrycode>NL</countrycode>
<postcode>1000 AA</postcode>
<daytimephone>020-1234567</daytimephone>
<eveningphone>020-1234567</eveningphone>
<mobilephone>06-12345678</mobilephone>
<faxnumber></faxnumber>
<primaryemail>john.doe@example.com</primaryemail>
<secondaryemail></secondaryemail>
<password>B24AC1EEC9438456C695F9ED54C</password>
<lastmodified>9/18/2007 2:01:30 PM</lastmodified>
</profile>
<package id="12345">
<friendlyname>Hosting</friendlyname>
<hostingplan id="1234">Bighostingpackage</hostingplan>
<status value="0">Active</status>
<domain id="12345">
<domainname>example.org</domainname>
<status value="0">Active</status>
<alias id="54321">example.net</alias>
</domain>
<domain id="23456">
<domainname>example.com</domainname>
<status value="0">Active</status>
</domain>
</package>
</user>
</response>
</webstekker>
open XML in a new window
Receive - Error:
<?xml version="1.0" encoding="utf-8"?>
<webstekker>
<response success="0">
<reason>RESELLER LOGIN FAILED</reason>
<description>The provided reseller details are incorrect</description>
</response>
</webstekker>
open XML in a new window
Possible error messages:
RESELLER LOGIN FAILED The provided reseller details are incorrect
USER ACCOUNTNUMBER UNKNOWN The provided user accountnumber does not exist
USER NOT OF RESELLER The provided user is not a user of the provided reseller
(other errors may occur if the XML is not valid)