domain_order ()
Send domain order.
HTTP Method: | GET | |
---|---|---|
Parameters: | sid | session id* |
domain_name | name of domain* | |
domain_tld | name of TLD* | |
plan_id | id hosting plan* | |
Returns: | HTTP code | 200 (OK) |
reply | answer is empty | |
HTTP code | 400 (Bad request) | |
invalid_values | array of invalid values with error messages. |
CURL
curl "https://admin.systems90.cz/api/domain_order?sid=%sid%&domain_name=%domain_name%&domain_tld=%domain_tld%&plan_id=%plan_id%"
PHP Library
$api->domain_order(array(
'domain_name' => %domain_name%,
'domain_tld' => %domain_tld%,
'plan_id' => %plan_id%
));
Example of data output
<?xml version="1.0" encoding="UTF-8"?>
<reply>
<status>
<code>0</code>
<text>Order accepted</text>
</status>
</reply>