Description
Adds Child Name Servers for the specified Domain Registration Order.
Parameters
| Name | Data Type | Required / Optional | Description | 
|---|---|---|---|
| auth-userid | Integer | Required | Authentication Parameter | 
| api-key | String | Required | Authentication Parameter | 
| order-id | Integer | Required | Order Id of the Domain Registration Order for which you want to add the Child Name Servers. | 
| cns | String | Required | Child Name Servers name that you want to add. | 
| ip | Array of Strings | Required | IP addresses that you want to associate with the Child Name Servers. | 
HTTP Method
POST
Example Test URL Request
https://test.httpapi.com/api/domains/add-cns.json?auth-userid=0&api-key=key&order-id=0&cns=ns1.domain.com&ip=0.0.0.0&ip=1.1.1.1 
Response
Returns a hash map containing the below details:
- 
Domain Name (description) 
- 
Order ID of the Domain Registration Order (entityid) 
- 
Action Type (actiontype) 
- 
Description of the Child Name Server Addition Action (actiontypedesc) 
- 
Action ID of the Child Name Server Addition Action (eaqid) 
- 
Child Name Server Addition Action Status (actionstatus) 
- 
Description of the Child Name Server Addition Action Status (actionstatusdesc) 
In case of any errors, a status key with value as ERROR alongwith an error message will be returned.
