Resource path /Domain/Host/List
https://testapi.internet.bs/Domain/Host/List?apiKey=testapi&password=testpass&...
The command is intended to retrieve the list of hosts defined for a domain.
HTTPS POST/GET Request parameters:
| Parameter name | Description |
ApiKey |
The API key that we provided to you when you requested API access for your account |
Password |
The password we provided when you requested API access for your account |
Domain |
The domain name for which the list of hosts have to be retrieved |
CompactList |
By default we only return the list of hosts. However you may obtain extra information such as IPs and host status if you set CompactList=no. The default value is ComptactList=yes. Example list with CompactList=no: |
ResponseFormat |
This specifies how the response will be returned. Possible values are TEXT, JSON and XML. |
Returned data:
Example:
The result for this request is:
Example 2 (with CompactList=no):
The result for this request is:
