domain_list ()
List all domains for current account.
HTTP Method: | GET | |
---|---|---|
Parameters: | sid | session id* |
Returns: | HTTP code | 200 (OK) |
domain_id | unique id of domain | |
domain_name | domain name |
CURL
curl "https://admin.systems90.cz/api/domain_list?sid=%sid%"
PHP Library
$api->domain_list(array());
Example of data output
<?xml version="1.0" encoding="UTF-8"?>
<reply>
<status>
<code>0</code>
<text>OK</text>
</status>
<domains>
<domain>
<domain_id>77742</domain_id>
<name>example.com</name>
</domain>
</domains>
</reply>