Sample Requests

AddTrialUser

<?xml version="1.0"?>
<query>
    <!-- Main fields -->
    <userid><<id>></userid>
    <userkey><<key>></userkey>
    <action>addTrialUser</action>
    <user_data>
        <email>[Email]</email>
        <login>[Login]</login>
        <password>[Password]</password>
        <first_name>[FirstName]</first_name>
        <last_name>[LastName]</last_name>
        <phone>[Phone]</phone>
    </user_data>
</query>
{
    "query": {
        "userid": "<<id>>",
        "userkey": "<<key>>",
        "action": "addTrialUser",
        "user_data": {
            "email": "[Email]",
            "login": "[Login]",
            "password": "[Password]",
            "first_name": "[FirstName]",
            "last_name": "[LastName]",
            "phone": "[Phone]"
        }
    }
}

AddSubUser

<?xml version="1.0"?>
<query>
    <!-- Main fields -->
    <userid><<id>></userid>
    <userkey><<key>></userkey>
    <action>AddSubUser</action>
    <user_data>
        <email>[Email]</email>
        <login>[Login]</login>
        <password>[Password]</password>
        <first_name>[FirstName]</first_name>
        <last_name>[LastName]</last_name>
        <phone>[Phone]</phone>
    </user_data>
</query>
{
    "query": {
        "userid": "<<id>>",
        "userkey": "<<key>>",
        "action": "AddSubUser",
        "user_data": {
            "email": "[Email]",
            "login": "[Login]",
            "password": "[Password]",
            "first_name": "[FirstName]",
            "last_name": "[LastName]",
            "phone": "[Phone]"
        }
    }
}

UpdateSubUser

<?xml version="1.0"?>
<query>
    <!-- Main fields -->
    <userid><<id>></userid>
    <userkey><<key>></userkey>
    <action>UpdateSubUser</action>
    <action_user_id>[ActionUserID]</action_user_id>
    <user_data>
        <email>[Email]</email>
        <phone>[Phone]</phone>
        <password>[Password]</password>
        <first_name>[FirstName]</first_name>
        <last_name>[LastName]</last_name>
        <company>[CompanyName]</company>
        <city>[City]</city>
        <zip>[Zip]</zip>
        <country>[Country]</country>
        <state>[State]</state>
        <address>[Address]</address>
    </user_data>
</query>
{
    "query": {
        "userid": "<<id>>",
        "userkey": "<<key>>",
        "action": "UpdateSubUser",
        "action_user_id": "[ActionUserID]",
        "user_data": {
            "email": "[Email]",
            "phone": "[Phone]",
            "password": "[Password]",
            "first_name": "[FirstName]",
            "last_name": "[LastName]",
            "company": "[CompanyName]",
            "city": "[City]",
            "zip": "[Zip]",
            "country": "[Country]",
            "state": "[State]",
            "address": "[Address]"
        }
    }
}

DeleteUser

<?xml version="1.0"?>
<query>
    <userid><<id>></userid>
    <userkey><<key>></userkey>
    <action>DeleteSubUser</action>
    <action_user_id>[ActionUserID]</action_user_id>
</query>
{
    "query": {
        "userid": "<<id>>",
        "userkey": "<<key>>",
        "action": "DeleteSubUser",
        "action_user_id": "[ActionUserID]"
    }
}

GetUserInfo

<?xml version="1.0"?>
<query>
    <userid><<id>></userid>
    <userkey><<key>></userkey>
    <action>GetUserInfo</action>
    <action_user_id>[ActionUserID]</action_user_id>
</query>
{
    "query": {
        "userid": "<<id>>",
        "userkey": "<<key>>",
        "action": "GetUserInfo",
        "action_user_id": "[ActionUserID]"
    }
}

GetSubUsers

<?xml version="1.0"?>
<query>
<!-- Main fields -->
    <userid><<id>></userid>
    <userkey><<key>></userkey>
    <action>getsubusers</action>
</query>
{
    "query": {
        "userid": "<<id>>",
        "userkey": "<<key>>",
        "action": "getsubusers"
    }
}

GetASM

<?xml version="1.0"?>
<query>
    <userid><<id>></userid>
    <userkey><<key>></userkey>
    <action>GetASM</action>
    <action_user_id>[ActionUserID]</action_user_id>
</query>
{
    "query": {
        "userid": "<<id>>",
        "userkey": "<<key>>",
        "action": "GetASM",
        "action_user_id": "[ActionUserID]"
    }
}

GetStorageSpace

<?xml version="1.0"?>
<query>
    <userid><<id>></userid>
    <userkey><<key>></userkey>
    <action>GetStorageSpace</action>
    <action_user_id>[ActionUserID]</action_user_id>
</query>
{
    "query": {
        "userid": "<<id>>",
        "userkey": "<<key>>",
        "action": "GetStorageSpace",
        "action_user_id": "[ActionUserID]"
    }
}

GetBandwidthStat

<?xml version="1.0"?>
<query>
    <userid><<id>></userid>
    <userkey><<key>></userkey>
    <action>GetBandwidthStat</action>
    <action_user_id>[ActionUserID]</action_user_id>
    <date_from>[YYYY-MM-DD]</date_from>
    <date_to>[YYYY-MM-DD]</date_to>
</query>
{
    "query": {
        "userid": "<<id>>",
        "userkey": "<<key>>",
        "action": "GetBandwidthStat",
        "action_user_id": "[ActionUserID]",
        "date_from": "[YYYY-MM-DD]",
        "date_to": "[YYYY-MM-DD]"
    }
}

GetBandwidthStatGroupDate

<?xml version="1.0"?>
<query>
    <userid><<id>></userid>
    <userkey><<key>></userkey>
    <action>GetBandwidthStatGroupDate</action>
    <action_user_id>[ActionUserID]</action_user_id>
    <date_from>[YYYY-MM-DD]</date_from>
    <date_to>[YYYY-MM-DD]</date_to>
</query>
{
    "query": {
        "userid": "<<id>>",
        "userkey": "<<key>>",
        "action": "GetBandwidthStatGroupDate",
        "action_user_id": "[ActionUserID]",
        "date_from": "[YYYY-MM-DD]",
        "date_to": "[YYYY-MM-DD]"
    }
}