domain_list_plan ()
List all available hosting plans.
HTTP Method: | GET | |
---|---|---|
Parameters: | sid | session id* |
Returns: | HTTP code | 200 (OK) |
reply array "plans" with elements "plan" containing tags plan_id, name |
CURL
curl "https://admin.systems90.cz/api/domain_list_plan?sid=%sid%"
PHP Library
$api->domain_list_plan(array());
Example of data output
<?xml version="1.0" encoding="UTF-8"?>
<reply>
<status>
<code>0</code>
<text>OK</text>
</status>
<plans>
<plan>
<plan_id>2</plan_id>
<name>HOSTING90</name>
</plan>
<plan>
<plan_id>3</plan_id>
<name>HOSTING90 Plus</name>
</plan>
<plan>
<plan_id>5</plan_id>
<name>HOSTING90 Parkování</name>
</plan>
<plan>
<plan_id>30</plan_id>
<name>HOSTING90 Lite</name>
</plan>
<plan>
<plan_id>34</plan_id>
<name>EMAIL90</name>
</plan>
<plan>
<plan_id>35</plan_id>
<name>EMAIL90 Plus</name>
</plan>
<plan>
<plan_id>36</plan_id>
<name>EMAIL90 Lite</name>
</plan>
<plan>
<plan_id>122</plan_id>
<name>Hosted Email</name>
</plan>
</plans>
</reply>