API documentation
Domen Transferi In
Bu ?m?liyyat dig?r registrardan domen ad?n? NiceNIC-? k??ürm?y? imkan verir
Content-Type
application-json
kateqoriya
domain
?m?l
transfer
Sor?u parametrl?ri
| Parametrin ad? | N?v | T?svir et | Nümun? |
|---|---|---|---|
| domain | S?tr (3-60) | Domen ad? | example.com |
| authcode | S?tr | Domen transfer kodunun ili | Transfer and renew term |
| year | Tam ?d?d (4) | Qeydiyyat müdd?ti 1 ild?n 10 il? q?d?rdir, b?zi domenl?r ü?ün istisnalar var. | 1 |
| dns1 | Server | ?sas nameserver | ns3.my-ndns.com |
| dns2 | Server | ?kincil nameserver | ns4.my-ndns.com |
| organization | S?tr (1-255) | T??kilat / ?irk?t ad? | XXX Ltd. |
| name | S?tr (1-16) | Qeydiyyat sahibinin ad? | Xiao Ming |
| country | S?tr (1-255) | ?lk? kodu, m?s?l?n, CN | CN |
| state | S?tr (1-255) | Region / ?tat | BeiJing |
| city | S?tr (1-255) | ??h?rin q?saltmas? | BJ |
| address | S?tr (1-255) | Po?t ünvan? | BeiJing |
| postcode | Tam ?d?d (4-10) | Po?t indeksi | 100000 |
| phone | R?q?ml?ri ay?rmaq ü?ün "." (30) | +?lk? kodu.b?lm? kodu v? telefon n?mr?si | +86.13800000000 |
| fax | R?q?ml?ri ay?rmaq ü?ün "." (30) | +?lk? kodu.b?lm? kodu v? faks n?mr?si | +86.13800000000 |
| Email ünvan? | Email ünvan? | [email protected] |
Sorgu Nümun?si
{
curl https://api.nicenic.net/v2/?category=domain&action=transfer&domain={domain}&authcode={authcode}&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}
-H "Authorization: username:api_secret"
-H "Content-Type: application/json"
}
N?tic?nin qay?d???
201 OK
U?urlu cavab
{
"code": 201,
"msg" : "Pending order, please wait for the order to be processed!",
"data" : {
}
}
400 Yanl?? Sor?u
{
"code": 400,
"msg" : "Request parameter error",
}






