도메인 이전
이 작업은 다른 레지스트라에서 NiceNIC으로 도메인 이름을 이전할 수 있습니다
Content-Type
application/json
카테고리
domain
action
transfer
요청 매개변수
| 매개변수 이름 | 유형 | 설명 | 예시 |
|---|---|---|---|
| domain | String (3-60) | 도메인 이름 | example.com |
| authcode | String | 도메인 이전 코드 연도 | Transfer and renew term |
| year | Integer (4) | 등록 기간은 1년에서 10년까지이며, 일부 도메인의 경우 예외가 있습니다. | 1 |
| dns1 | Server | 기본 네임서버 | ns3.my-ndns.com |
| dns2 | Server | 보조 네임서버 | ns4.my-ndns.com |
| organization | String (1-255) | 기관/회사 이름 | XXX Ltd. |
| name | String (1-16) | 등록인 이름 | Xiao Ming |
| country | String (1-255) | 국가 코드 (예: CN) | CN |
| state | String (1-255) | 주 / 시도 | BeiJing |
| city | String (1-255) | 도시 약어 | BJ |
| address | String (1-255) | 우편 주소 | BeiJing |
| postcode | Integer (4-10) | 우편번호 / ZIP 코드 | 100000 |
| phone | 숫자 구분을 위한 "." (30) | +국가 코드.지역 코드 및 전화번호 | +86.13800000000 |
| fax | 숫자 구분을 위한 "." (30) | +국가 코드.지역 코드 및 팩스 번호 | +86.13800000000 |
| 이메일 주소 | 이메일 주소 | [email protected] |
요청 예시
{
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"
}
반환 결과
201 OK 성공 응답
{
"code": 201,
"msg" : "Pending order, please wait for the order to be processed!",
"data" : {
}
}
400 잘못된 요청
{
"code": 400,
"msg" : "Request parameter error",
}






