vserver_license_accounting ()
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.
|
CURL
curl "https://admin.systems90.cz/api/vserver_license_accounting?sid=%sid%"
PHP Library
$api->vserver_license_accounting(array());
Example of data output
<?xml version="1.0" encoding="UTF-8"?>
<reply>
<licenses>
<license>
<date>date</date>
<count>count</count>
<license_name>license_name</license_name>
<license_description>license_description</license_description>
<price>price</price>
</license>
</licenses>
</reply>