Returns | Examples: SUCCESSFUL: | {"success":1,"message":"Search Successful.","data":[{"zoneId":"932","zoneName":"185.160.209.in-addr.arpa","zoneResourceId":"81", "zoneSerial":"2013040302","zoneRefresh":"28800","zoneRetry":"7200","zoneExpire":"604800","zoneMinimum":"86400","zoneSOA":null, "zoneTags":null,"zoneTTL":"28800","zoneAutoCheck":"1","zoneEnableDNSSEC":null,"recordId":"154110","recordZoneId":"932", "recordHost": "185.160.209.inaddr.arpa.","recordType":"NS","recordValue":"auth01.veroxity.net.","recordDescription":null,"recordTTL":"28800", "recordOrdering":"1", "recordErrors":null,"assetId":"0","userCanCreate":0,"userCanDelete":1,"userCanUpdate":1}]} | ERROR: | {"success":0, "message":"error message"} |
Data Detail:
Name | Type | Description |
---|
zoneId | INTEGER | The Id of the Zone entry. A single Zone entry might have multiple Records. | zoneName | STRING | The Zone name. | zoneResourceId | INTEGER | The resource Id associated with this Zone. | zoneSerial | INTEGER | Zone Serial. | zoneRefresh | INTEGER | Zone Refresh. | zoneRetry | INTEGER | Zone Retry. | zoneExpire | INTEGER | Zone Expire. | zoneMinimum | INTEGER | Zone Minimum. | zoneSOA | STRING | Zone SOA. | zoneTags | STRING | All the tags associated with this Zone. | zoneTTL | STRING | Zone TTL. | zoneEnableDNSSEC | BOOL | Whether or not DNSSEC is enabled for this Zone. | zoneAutoCheck | BOOL | Whether or not this zone is configured to be automatically validated on load/edit. | recordId | INTEGER | The Id of this Record Entry. It is always included with its parent Zone. | recordHost | STRING | The Hostname of this Record. | recordType | STRING | The Record Type (MX,NS,A,PTR,etc) | recordValue | STRING | The Value of this Record. | recordDescription | STRING | A short description of this Record. | recordTTL | STRING | The TTL of this Record. | recordOrdering | INTEGER | The numerical order in which the record appears in the zone. | recordErrors | STRING | A string containing any detected problems with this record | userCanCreate | BOOL | Whether or not the user has DNS CREATE permissions on this zone's resource | userCanUpdate | BOOL | Whether or not the user has DNS UPDATE permissions on this zone's resource | userCanDelete | BOOl | Whether or not the user has DNS DELETE permissions on this zone's resource | unpagedRows | INTEGER | If pagination is used, this value will contain a total count of records had the pagination not been used. |
|
Optional Parameters | Name | Type | Example | Description |
---|
likeFlag | BOOL | 1 | When 1, string searches are done via LIKE with wildcards at both ends. When 0, strict comparison is used. | generalFlag | BOOL | 1 | When 1, searches over the provided parameters using OR. If 0 or omitted, uses AND. | selectCount | INTEGER | 30 | When supplied only returns the first X entries | selectOffset | INTEGER | 10 | When supplied, only returns entries after record X | sortArray | JSON | {"zoneName":"desc","zoneMask":"asc"} | A JSON-encoded object containing a list of columns to sort on and the direction in which to sort. Any API variable may be used for sorting. Valid sort directions are ASC and DESC. |
Name | Type | Example | Description |
---|
zoneId | INTEGER | 123 | The Zone Id to search for. | zoneName | STRING | foo | The Zone Name to search for. | zoneResourceId | INTEGER | 5 | The Resource Id to search for. | zoneSerial | INTEGER | 2012033001 | The Zone Serial to search for. | zoneRefresh | INTEGER | 36000 | The Zone Refresh to search for. | zoneRetry | INTEGER | 800 | The Zone Retry to search for. | zoneExpire | INTEGER | 6090000 | The Zone Expire to search for. | zoneMinimum | INTEGER | 10 | The Zone Minimum to search for. | zoneSOA | STRING | 200 | The Zone SOA to search for. | zoneTags | STRING | client,production | Zone Tags to search for. | zoneTTL | INTEGER | 3600 | The Zone TTL to search for. | zoneEnableDNSSEC | INTEGER | 1 | Search based on DNSSEC settings. | recordId | INTEGER | 123 | The Record Id to search for. | recordZoneId | INTEGER | 123 | The parent Zone to search for. | recordHost | STRING | @ | The Record Host to search for. | recordType | STRING | NS | The Record Type to search for. | recordValue | STRING | ns1.dns.6connect.com. | The Record Value to search for. | recordDescription | STRING | Description | Search based on Record Description. | recordTTL | STRING | 3600 | The Record TTL to search for. |
|