| The Cube Panelīs API 2.2 Reference Guide: Accessing Cube Panel's WebServices | ||
|---|---|---|
| Prev | Chapter 2. API Reference Guide | Next |
Input parameters:
- record : string : name of the new DNS entry (entry.domain.com)
- idType : int : type of DNS entry . The values may be the following:
* 1 : A Type
* 2 : CNAME Type
* 3 : NS Type
* 4 : MX 10 Type
* 5 : MX 20 Type
- value : string : DNS entry value
Output parameters:
- Return a boolean with true value if the entry has been added
- Or fault:
- ERROR_PROCESSOR_USERAUTH
- ERROR_PROCESSOR_PARAM_VALIDATION
- ERROR_PROCESSOR_DOMAIN_LOCKED
- ERROR_DNS_ADDRECORD
- ERROR_DNS_RECORDEXISTS
- ERROR_DNS_CNAMERECORDEXISTS
- ERROR_DNS_ARECORDEXISTS
- ERROR_DNS_CIRCULARREFERENCE
Callable by: domain
Necessary permissions: none
Remarks:
- Add a DNS entry for the domain accessing the web service.
Examples:
.NET Java PHP
Input parameters:
- idRecord : Array : array of DNS entry IDs.
Output parameters:
- Return a boolean with true value if the DNS entry has been deleted correctly.
- Or fault:
- ERROR_PROCESSOR_USERAUTH
- ERROR_PROCESSOR_PARAM_VALIDATION
- ERROR_PROCESSOR_DOMAIN_LOCKED
- ERROR_DNS_RECORDNOTEXISTS
- ERROR_DNS_DELRECORD
- ERROR_DNS_DELSOMERECORD
Callable by: domain
Necessary permissions: none
Remarks:
- Delete the DNS selected in the array idRecord.
Examples:
.NET Java PHP
Input parameters:
- [searchRecord] : string : filter the search by DNS entry
- [orderArray] : OrderArray : results order structure
Output parameters:
- Returns an ArrayOfDNSInfo
- Or fault:
- ERROR_PROCESSOR_USERAUTH
- ERROR_PROCESSOR_PARAM_VALIDATION
- ERROR_DNS_LISTRECORDS
- ERROR_PROCESSOR_CONNECT_SYSTEM_DATABASE
Callable by: domain
Necessary permissions: none
Remarks:
- Lists existing DNS entries for the domain accessing the web service.
- The result can be ordered by the following criteria:
- name : name of the DNS entry
- type : type of DNS entry
- value : DNS entry value
Examples:
.NET Java PHP