Creates a customization specification.
Registration of latin".rs", ".co.rs", ".org.rs", ".edu.rs", ".in.rs" and cyrillic".срб"".пр.срб",".орг.срб",".обр.срб",".од.срб" domains.
v2/domains/domain_name/register
Header Parameters
| Name | Type | Restrictions | Required-optional |
|---|---|---|---|
| domain_name | String | Valid full domain name |
Required
|
| Name | Type | Restrictions | Required-optional |
|---|---|---|---|
| period | Integer | Integer 1 - 10 | Required |
| who_is_privacy | Boolean | true false |
Optional |
| locked_domain | Boolean | true false |
Required |
| Name | Type | Restrictions | Required-optional |
|---|---|---|---|
| dns | array | Valid DNS name |
dns[0]-dns[1] are required
dns[2]-dns[7] are optional |
| Name | Type | Restrictions | Required-optional |
|---|---|---|---|
| owner_first_name owner_last_name |
String |
Required
|
|
| owner_is_legal_entity | Boolean |
Required
|
|
| owner_company_name | String |
Required – if "owner_is_legal_entity" has value "true"
|
|
| owner_company_id | Integer |
Required – if "owner_is_legal_entity" has value "true"
|
|
| owner_phone | Integer |
Required
|
|
| owner_country | String | letter country code, according to ISO 3166- 1 alpha- 2 standard |
Required
|
| owner_city, owner_address, owner_email |
String |
Required
|
|
| owner_zip | Integer |
Required
|
| Name | Type | Restrictions | Required-optional |
|---|---|---|---|
| admin_first_name, admin_last_name, | String |
Required
|
|
| admin_is_legal_entity | Boolean |
Required
|
|
| admin_company_name | String |
Required – if "admin_is_legal_entity" has value "true"
|
|
| admin_company_id | Integer |
Required – if "admin_is_legal_entity" has value "true"
|
|
| admin_phone | Integer |
Required
|
|
| admin_city admin_address admin_email |
String | 2 - letter country code according to ISO 3166 - 1 alpha - 2 standard |
Required
|
| admin_country | String |
Required
|
|
| admin_zip | Integer |
Optional
|
| Name | Type | Restrictions | Required-optional |
|---|---|---|---|
| tech_first_name, tech_last_name, |
String |
Required
|
|
| tech_is_legal_entity | Boolean |
Required
|
|
| tech_company_name | String |
Required – if "tech_is_legal_entity" has value "true"
|
|
| tech_company_id | Integer |
Required – if "tech_is_legal_entity" has value "true"
|
|
| tech_phone | Integer |
Required
|
|
| tech_city, tech_address, tech_email |
String |
Required
|
|
| tech_country | String | 2 - letter country code according to ISO 3166- 1 alpha - 2 standard |
Required
|
| tech_zip | Integer |
Optional
|
{
"domain_tld": "string",
"period": "integer",
"who_is_privacy": "boolean",
"locked_domain": "boolean",
"dns[0]": "string",
"dns[1]": "string",
"dns[2]": "string",
"dns[3]": "string",
"dns[4]": "string",
"dns[5]": "string",
"dns[6]": "string",
"dns[7]": "string",
"owner_is_legal_entity": "boolean",
"owner_first_name": "string",
"owner_last_name": "string",
"owner_company_name": "string",
"owner_company_id": "integer",
"owner_country": "string",
"owner_address": "string",
"owner_city": "string",
"owner_phone": "integer",
"owner_email": "string",
"owner_zip": "integer",
"admin_is_legal_entity": "boolean",
"admin_first_name": "string",
"admin_last_name": "string",
"admin_company_name": "string",
"admin_company_id": "integer",
"admin_country": "string",
"admin_address": "string",
"admin_city": "string",
"admin_phone": "integer",
"admin_emai": "string",
"admin_zip": "integer",
"tech_is_legal_entity": "boolean",
"tech_first_name": "string",
"tech_last_name": "string",
"tech_company_name,": "string",
"tech_company_id": "integer",
"tech_country": "string",
"tech_address": "string",
"tech_city": "string",
"tech_phone": "integer",
"tech_email": "string",
"tech_zip": "integer",
}
| Name | Response | Type | Status |
|---|---|---|---|
| success | true | boolean | 202 Accepted |
| message | <domain_name> registered | string | 202 Accepted |
| Name | Response | Status | Name | Response | Status |
|---|---|---|---|---|---|
| success | false | 400 Bad Request | domain_name | Invalid domain name | 400 Bad Request |
| message | Register domain exception error | 400 Bad Request | domain_tld | Invalid domain tld | 400 Bad Request |
| message | Not enough founds | 400 Bad Request | admin last name | Empty admin last name | 400 Bad Request |
| message | <domain name> not registered | 400 Bad Request | admin last name | Admin last name has to be between 2 and 30 characters long | 400 Bad Request |
| period | Invalid period | 400 Bad Request | admin_address | Empty admin address | 400 Bad Request |
| public_whois | Invalid public whois value | 400 Bad Request | admin_address | Admin address has to be between 2 and 50 characters long | 400 Bad Request |
| lock_domain | Invalid lock domain value | 400 Bad Request | admin_postal_code | Empty admin postal code | 400 Bad Request |
| dns[0] | Empty dns1 | 400 Bad Request | admin_postal_code | Admin postal code has to be between 3 and 10 characters long | 400 Bad Request |
| admin_city | Empty admin city | 400 Bad Request | admin_city | Admin city name has to be between 2 and 30 characters long | 400 Bad Request |
| dns[1] | Empty dns2 | 400 Bad Request | admin_country | Empty admin country | 400 Bad Request |
| owner_is_legal_entity value | Invalid owner is legal entity value | 400 Bad Request | admin_country | Unknown admin country | 400 Bad Request |
| owner_company_name | Empty owner company name | 400 Bad Request | admin_phone | Empty admin phone | 400 Bad Request |
| owner_company_name | Owner company name has to be between 2 and 100 characters long | 400 Bad Request | admin_phone | Admin phone number must be in format: 64123465 | 400 Bad Request |
| owner_company_id | Empty owner company id | 400 Bad Request | admin_email | Empty admin email | 400 Bad Request |
| owner_company_id | Owner company id has to be between 2 and 20 characters long | 400 Bad Request | tech_is_legal_entity | Invalid tech is legal entity value | 400 Bad Request |
| owner_first_name | Empty owner first name | 400 Bad Request | tech_company_name | Empty tech company name | 400 Bad Request |
| owner_first_name | Owner first name has to be between 2 and 30 characters long | 400 Bad Request | tech_company_name | Tech company name has to be between 2 and 100 characters long | 400 Bad Request |
| owner_last_name | Empty owner last name | 400 Bad Request | tech_company_id | Empty tech company id | 400 Bad Request |
| owner_last_name | Owner last name has to be between 2 and 30 characters long | 400 Bad Request | owner_company_id | Owner company id has to be between 2 and 20 characters long | 400 Bad Request |
| owner_address | Empty owner address | 400 Bad Request | tech_first_name | Empty tech first name | 400 Bad Request |
| owner_address | Owner address has to be between 2 nad 50 characters long | 400 Bad Request | tech_last_name | Empty tech last name | 400 Bad Request |
| owner_postal_code | Empty owner postal code | 400 Bad Request | tech_first_name | Tech first name has to be between 2 and 30 characters long | 400 Bad Request |
| owner_postal_code | Owner postal code has to be between 3 and 10 characters long | 400 Bad Request | tech_last_name | Tech last name has to be between 2 and 30 characters long | 400 Bad Request |
| owner_city | Empty owner city | 400 Bad Request | tech_address | Empty tech address | 400 Bad Request |
| owner_city | Owner city name has to be between 2 and 30 characters long | 400 Bad Request | tech_address | Tech address has to be between 2 and 50 characters long | 400 Bad Request |
| owner_country | Empty owner country | 400 Bad Request | tech_postal_code | Empty tech postal code | 400 Bad Request |
| owner_country | Unknown owner country | 400 Bad Request | tech_postal_code | Tech postal code must be between 3 and 10 characters long | 400 Bad Request |
| owner_phone | Empty owner phone | 400 Bad Request | tech_city | Empty tech city | v400 Bad Request |
| owner_phone | Phone number must be in format: 64123465 | 400 Bad Request | tech_city | Tech city name has to be between 2 and 30 characters long | 400 Bad Request |
| owner email | Empty owner email | 400 Bad Request | tech_country | Empty tech country | 400 Bad Request |
| admin_is_legal_entity | Invalid admin is legal entity value | 400 Bad Request | tech_country | Unknown tech country | 400 Bad Request |
| admin_company_name | Empty admin company name | 400 Bad Request | tech_phone | Empty tech phone | 400 Bad Request |
| admin_company_name | Admin company name has to be between 2 and 100 characters long | 400 Bad Request | tech_phone | Phone number must be in format: 64123465 | 400 Bad Request |
| admin_company_id | Empty admin company id | 400 Bad Request | tech_email | Empty tech email | 400 Bad Request |
| admin_first_name | Empty admin name | 400 Bad Request | admin_first_name | Admin first name has to be between 2 and 30 characters long | 400 Bad Request |
| admin_company_id | Admin company id has to be between 2 and 20 characters long | 400 Bad Request | message | Domain is unavailable | 400 Bad Request |
Domain registration test.On this page you can see how submitted json code looks like, and in what form the feedback comes.