This API Call has been deprecated. Associating extra details with a specified contact is no longer allowed and only New Contacts can be created and associated with a domain while associating extra details.
Description
Associates mandatory extra details with the specified Contact to register domain names under the TLDs below:
-
.ASIA
-
.BR
-
.CA
-
.CN
-
.JOBS
-
.NL
-
.RU
-
.US
Parameters
| Name | Data Type | Required / Optional | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| auth-userid | Integer | Required | Authentication Parameter | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| api-key | String | Required | Authentication Parameter | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| contact-id | Integer | Required | The Contact with which you want to associate extra details | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| attr-name | Map[name] | Required | Mapping key of the extra details to be associated for the specified Contact. Refer the description of attr-value. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| attr-value | Map[value] | Required |
Mapping value of the extra details required to be associated with a particular Contact before registering a domain name. This together with attr-name shall contain the extra details.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| product-key | Array of Strings | Required | The product keys for which the details are to be associated. They can be one of the set (dotasia | dotca | dotcoop | dotes | dotjobs | dotnl | dotpro | dotru | domus). |
HTTP Method
POST
Example Test URL Request
https://test.httpapi.com/api/contacts/set-details.json?auth-userid=0&api-key=key&contact-id=0&attr-name1=sponsor1&attr-value1=0&product-key=dotcoop
Response
Returns true (Boolean) if the extra details are successfully associated with the specified Contact; false otherwise.
In case of any errors, a status key with value as ERROR alongwith an error message will be returned.
Get web hosting in INR 1000 yearly with cpanel, SSL and free business email accounts. Call Us or WhatsApp +91 9878357855