ドメインの移管(受入)
この操作により、別のレジストラから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 | サーバー | プライマリネームサーバー | ns3.my-ndns.com |
| dns2 | サーバー | セカンダリネームサーバー | 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) | 郵便番号 / ジップコード | 100000 |
| phone | 数字の区切りには「.」を使用 (30) | +国番号・市外局番・電話番号 | +86.13800000000 |
| fax | 数字の区切りには「.」を使用 (30) | +国番号・市外局番・FAX番号 | +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",
}






