Inputs | Description | Type | Regular expression | Mandatory |
class | list = ‘contact’ ou ‘domain’ | Yes | ||
startrecord | Number of the record to begin | int | No | |
maxrecords | Number max of record to extract | int | No | |
value | String, with value type for
|
No |
Command
<api> […] <command> <search> <class>domain</class> <startrecord>0</startrecord> <maxrecords>20</maxrecords> <value type="admin">contactid</value> <value type="ns">dns1.namebay.com</value> <value type="expdate">2012-07-30</value> </search> </command> </api> |
Response
<?xml version="1.0" encoding="utf-8"?> <api> <response> <trID>…</trID> <result code="…"> <msg>…</msg> </result> </response> <results> <domain> <domainname>mondomaine.com</domainname> <status>active</status> <credate>2000-08-10</credate> <expdate>2004-08-10</expdate> </domain> <domain> <domainname>mondomaine.net</domainname> <status>active</status> <credate>2001-11-07</credate> <expdate>2004-11-06</expdate> </domain> </results> </api> |