We have adjusted the structure of a number of responses.
All responses are added to the results
key. The reason for this is to keep the responses as consistent as possible (see the code example below).
results
key:You are now able to send a limit
parameter with your request to whois. For example a 3 for three domains each call.
{
// limited to three results
"total": 331,
"current_page": 1,
"last_page": 111,
"results": [ // wrap everything in results
{
"extension_id": 4,
"domain": "helloworld",
"extension": "nl",
"firstyear_price": 1.95,
"costprice": 4.95,
"available": false // true or false instead of 210 or 211
},
{
"extension_id": 5,
"domain": "helloworld",
"extension": "com",
"firstyear_price": 8.99,
"costprice": 8.99,
"available": false
},
{
"extension_id": 6,
"domain": "helloworld",
"extension": "net",
"firstyear_price": 8.99,
"costprice": 8.99,
"available": false
}
]
}
Removed trailing slash for Get countries
and Delete holder
Changes to Company, Firstname, Center, Lastname and Gender are not possible anymore. These values can not be change.
Domain filter added to retrieve only the active or canceled domains. This can be achieved by adding ?filter=active
or ?filter=cancelled
while requesting domains or if using library by adding $neo->setQuery(['filter' => 'active'])
to your request.
Typo changes in the documentation and response keys.
The paid_untill
typo has been changed to paid_until
There is also a change made in the Get single domains response.
In addition to the current response, we now also send the registrant
, tech
and admin
handles.
{
"id": 1234
"description": "domein1.nl"
"extension": ".nl"
"year": 1
"discount": "0.00"
"start_date": "2017-09-13T15:56:06+00:00"
"paid_until": "2018-09-13T15:56:06+00:00" //typo fix
"is_external": 0
"redirect": ""
"dns_id": 4321
"redirect_type": ""
"status": "active"
// Added holder(s) to the response
"registrant": {
"city": "Lelystad"
"company": "Neostrada"
"country_code": "NL"
"email": "test@neostrada.nl"
"name": "John Doe"
"street": "Reaalhof 64"
"zipcode": "8232 VS"
}
"tech": {
"city": "Lelystad"
"company": "Neostrada"
"country_code": "NL"
"email": "test@neostrada.nl"
"name": "John Doe"
"street": "Reaalhof 64"
"zipcode": "8232 VS"
}
"admin": {
"city": "Lelystad"
"company": "Neostrada"
"country_code": "NL"
"email": "test@neostrada.nl"
"name": "John Doe"
"street": "Reaalhof 64"
"zipcode": "8232 VS"
}
}
First release