Subuser:info
Obtaining all information for a subuser
To get the information for a subuser, you first of all need the identifier of this subuser. You can get the identifiers of your subusers by using a subuser:list request. After having retrieved the identifer of the subuser, you can use it in the following request to obtain additional information about the corresponding account.
XML Template
<?xml version="1.0" encoding="UTF-8"?>
<request xmlns:subuser="http://www.eurodns.com/subuser">
<subuser:info>
<subuser:id>#SUBUSER ID#</subuser:id>
</subuser:info>
</request>
<subuser:info> (Occurrences: 1)
R | #subuserID# | Identifier of the subuser |
If the specified subuser exists in your account, the following code will be returned:
<?xml version="1.0" encoding="UTF-8"?>
<response xmlns:eurodns="http://www.eurodns.com/eurodns" xmlns:subuser="http://www.eurodns.com/subuser">
<result code="1000">
<msg><![CDATA[Command completed successfully]]></msg>
</result>
<resData>
<subuser:id>#IDENTIFIER#</subuser:id>
<subuser:deletable>#DELETION FLAG#</subuser:deletable>
<subuser:postalInfo>
<subuser:name>#FIRSTNAME LASTNAME#</subuser:name>
<subuser:org>#COMPANY#</subuser:org>
<subuser:voice>#PHONE NUMBER#</subuser:voice>
<subuser:fax>#FAX NUMBER#</subuser:fax>
<subuser:email>#EMAIL ADDRESS#</subuser:email>
<subuser:addr>
<subuser:street>#STREET#</subuser:street>
<subuser:city>#CITY#</subuser:city>
<subuser:pc>#ZIP/POSTALCODE#</subuser:pc>
<subuser:cc>#COUNTRY CODE#</subuser:cc>
</subuser:addr>
</subuser:postalInfo>
</resData>
<extension>
<eurodns:account>
<eurodns:login>#EURODNS LOGIN#</eurodns:login>
</eurodns:account>
</extension>
</response>
<resData> (Occurrences: 1)
R | #IDENTIFIER# | Identifer of the subuser |
R | #DELETION FLAG# | States whether the subuser may be deleted (true/false) |
<subuser:postalInfo> (Occurrences: 1)
R | #FIRSTNAME LASTNAME# | Firstname and Lastname |
R | #COMPANY# | Company |
R | #PHONE NUMBER# | Phone number |
R | #FAX NUMBER# | Fax Number |
R | #EMAIL ADDRESS# | Email address |
<subuser:addr> (Occurrences: 1)
R | #STREET# | Address: Street |
R | #CITY# | Address: City |
R | #ZIP/POSTALCODE# | Address: ZIP/Postalcode |
R | #COUNTRY CODE# | Address: Country code (ISO 3166-1-alpha-2) |
<extension> (Occurrences: 1)
<eurodns:account> (Occurrences: 1)
R | #EURODNS LOGIN# | Login of the EuroDNS account |
Legend
O | The element is optional and does not have to be specified in the request and/or answer |
R | The element is mandatory and has to specified in the request and/or answer |