vserver_license_accounting_postpay ()
Selected VPS Transaction Listing - Clears all previously licensed UID licenses.
HTTP Method: | GET | |
---|
Parameters: | sid | session id* |
---|
Returns: | HTTP code | 200 (OK) |
---|
| | Function call successful. Reply portion reply contains a list of leased licenses. |
Return errors
Error code | HTTP response code | Description |
---|
3 | 403 (Forbidden) |
Function call failed, invalid sid parameter. Create new sid using /api/login function. Reply portion reply is empty.
|
6 | 400 (Bad request) | Function was not performed because all required parameters were not entered. Reply portion reply is empty. |
CURL
curl "https://admin.hosting90.eu/api/vserver_license_accounting_postpay?sid=%sid%"
PHP Library
$api->vserver_license_accounting_postpay(array());
Example of data output
<?xml version="1.0" encoding="UTF-8"?>
<reply>
<licenses>
<license>
<count>count</count>
<license_name>license_name</license_name>
<license_description>license_description</license_description>
<date_start>date_start</date_start>
<date_end>date_end</date_end>
<price>price</price>
</license>
</licenses>
</reply>