Доменді тіркеу
Домендік атауды тіркеу — бұл интернетте бірегей атауды белгілі бір мерзімге, әдетте бір жыл немесе одан да көп, брондау процесі.
Сұрау параметрлері
| Параметр атауы | Түрі | Сипаттама | Мысал |
|---|---|---|---|
| domain | Жол (3-60) | Домен атауы | example.com |
| year | Бүтін сан (4) | Тіркеу кезеңі 1-ден 10 жылға дейін, кейбір домендерге ерекше жағдайлар бар. | 1 |
| dns1 | Сервер | Негізгі ат сервері | ns3.my-ndns.com |
| dns2 | Сервер | Қосалқы ат сервері | ns4.my-ndns.com |
| organization | Жол (1-255) | Ұйым / Компания атауы | XXX Ltd. |
| name | Жол (1-16) | Тіркеуші аты | Xiao Ming |
| country | Жол (1-255) | Ел коды, мысалы CN | CN |
| state | Жол (1-255) | Облыс / Аймақ | BeiJing |
| city | Жол (1-255) | Қала қысқартылуы | BJ |
| address | Жол (1-255) | Жеткізу мекен-жайы | BeiJing |
| postcode | Бүтін сан (4-10) | Пошта индексі / Почта коды | 100000 |
| phone | Сандарды бөлу үшін "." (30) | +Ел коды.аудан коды және телефон нөмірі | +86.13800000000 |
| fax | Сандарды бөлу үшін "." (30) | +Ел коды.аудан коды және факс нөмірі | +86.13800000000 |
| Электрондық пошта мекенжайы | Электрондық пошта мекенжайы | [email protected] | |
| contact_source | Жол (1-255) | Set to member to use сіздің member profile instead of the supplied Байланыс деректері. | member |
| document_type | Жол | Required fнемесе HK доменs. Common values: PASSNO (Паспорт), OTHIDV (Other Individual Құжат нөмірі), OTHНЕМЕСЕG (Other Organization Құжат нөмірі). | PASSNO |
| document_number | Жол (1-40 bytes) | Document number matching the selected type. Required fнемесе HK доменs. | E12345678 |
HK доменs require both document fields, including when using contact_source=member. Other доменs ignнемесеe them. Fнемесе .com.hk, only BR is accepted.
Жауап параметрлері
| Параметр атауы | Түрі | Сипаттама |
|---|---|---|
| domain | Жол | Домен атауы |
| created_date | Күні | Домен тіркелген уақыты |
| expired_date | Күні | Доменнің аяқталу мерзімі |
Сұрау үлгісі
{
curl https://api.nicenic.net/v2/?category=domain&action=register&domain={domain}&year={year}&dns1={dns1}&dns2={dns2}&organization={organization}&name={name}&country={country}&state={state}&city={city}&address={address}&postcode={postcode}&phone={phone}&fax={fax}&email={email}&contact_source={contact_source}
-H "Authorization: username:api_secret"
-H "Content-Type: application/json"
}
Нәтижені қайтару
{
"code": 0,
"msg" : "success",
"data" : {
"domain":"example.com",
"created_date":"2025-01-21",
"expired_date":"2026-01-21"
}
}
{
"code": 201,
"msg" : "Pending order, please wait for the order to be processed!"
}
}
Ескерту: code "201" means the registration немесеder was submitted successfully және the fee was deducted. Final домен activation is still subject to registry confirmation. Егер the домен cannot be activated, the registration fee will be refunded to сіздің account balance within 24 hours.
{
"code": 400,
"msg" : "Request parameter error",
}






