API documentation
???? ??? ???s
? API? ???? ??? ??? ??? ? ????
Content-Type
application-json
????
domain
??
change_contact
?? ????
| ???? ?? | ?? | ?? | ?? |
|---|---|---|---|
| domain | ??? (3-60) | ??? ?? | example.com |
| name | ??? (1-16) | ??? ?? | Xiao Ming |
| organization | ??? (1-255) | ?? / ??? | XXX Ltd. |
| address | ??? (1-255) | ?? ?? | BeiJing |
| country | ??? (1-255) | ?? ??, ?: CN | CN |
| state | ??? (1-255) | ? / ? | BeiJing |
| city | ??? (1-255) | ?? ?? | BJ |
| postcode | ?? (6) | ???? / ZIP ?? | 100000 |
| phone | ??? ???? "." (30) | +?? ??.?? ?? ? ???? | +86.13800000000 |
| fax | ??? ???? "." (30) | +?? ??. ?? ?? ? ?? ?? | +86.13800000000 |
| ??? ?? | ??? ?? | [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",
}






