ドメイン連絡先の更新
このAPIは、ドメインの連絡先情報を変更できます。
Content-Type
application/json
カテゴリ
domain
action
change_contact
リクエストパラメータ
| パラメータ名 | 型 | 説明 | 例 |
|---|---|---|---|
| domain | String (3-60) | ドメイン名 | example.com |
| name | String (1-16) | 登録者名 | Xiao Ming |
| organization | String (1-255) | 組織名/会社名 | XXX Ltd. |
| address | String (1-255) | 郵送先住所 | BeiJing |
| country | String (1-255) | 国コード(例:CN) | CN |
| state | String (1-255) | 省 / 州 | BeiJing |
| city | String (1-255) | 都市コード | BJ |
| postcode | Integer (6) | 郵便番号 / ジップコード | 100000 |
| phone | "." to separate numbers (30) | +国番号・市外局番・電話番号 | +86.13800000000 |
| fax | "." to separate numbers (30) | +国番号・市外局番・FAX番号 | +86.13800000000 |
| Email address | Email address | [email protected] |
リクエスト例
{
curl https://api.nicenic.net/v2/?category=domain&action=change_contact&domain={domain}&name={name}&organization={organization}&address={address}&country={country}&state={state}&city={city}&postcode={postcode}&phone={phone}&fax={fax}&email={email}
-H "Authorization: username:api_secret"
-H "Content-Type: application/json"
}
戻り値
0 OK リクエスト成功
{
"code": 0,
"msg" : "success",
"data" : {
}
}
400 リクエストエラー
{
"code": 400,
"msg" : "Request parameter error",
}






