| Field | Type | Description |
|---|---|---|
| domainName | String | (Required) Domain name |
| regid | String | (Required) Registrant contact ID |
| admid | String | (Required) Administrator contact ID |
| tecid | String | (Required) Technical contact ID |
| bilid | String | (Required) Billing contact ID |
| nameservers | String[] | (Required) Nameserver list |
| Field | Type | Description |
|---|---|---|
| eligible | Boolean | Indicates whether the domain is eligible |
| notEligibleReason | String | Reason for domain not being eligible |
| domain | String | Domain name |
| deductSoaRescode | String | Reseller code for the deduct SOA |
| regid | String | Registrant contact ID |
| admid | String | Administrator contact ID |
| tecid | String | Technical contact ID |
| bilid | String | Billing contact ID |
| currentRescode | String | Current reseller code |
| nameservers | String[] | Nameserver list |
curl --location --request POST 'https://oteapi.webnic.cc/domain/v2/secondhand-domain/insert' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '[
{
"domainName": "jimtestmodifyns.com",
"regid": "WNC968080T",
"admid": "WNC968081T",
"tecid": "WNC968082T",
"bilid": "WNC968083T",
"nameservers": [
"ns3.web.cc",
"ns5.web.cc"
]
}
]'{
"code": "1000",
"message": "Command completed successfully.",
"data": [
{
"eligible": true,
"domain": "jimtestmodifyns.com",
"deductSoaRescode": "WEBCC",
"regid": "WNC968080T",
"admid": "WNC968081T",
"tecid": "WNC968082T",
"bilid": "WNC968083T",
"currentRescode": "WEBCC",
"nameservers": [
"ns3.web.cc",
"ns5.web.cc"
]
}
]
}