Sample Requests

AddTrialUser

<?xml version="1.0"?>
<query>
	<!-- Main fields -->
	<userid>[UserID]</userid>
	<userkey>[UserKey]</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": "[UserID]",
        "userkey": "[UserKey]",
        "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>[UserID]</userid>
	<userkey>[UserKey]</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": "[UserID]",
        "userkey": "[UserKey]",
        "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>[UserID]</userid>
	<userkey>[UserKey]</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": "[UserID]",
        "userkey": "[UserKey]",
        "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>[UserID]</userid>
	<userkey>[UserKey]</userkey>
	<action>DeleteSubUser</action>
	<action_user_id>[ActionUserID]</action_user_id>
</query>
{
    "query": {
        "userid": "[UserID]",
        "userkey": "[UserKey]",
        "action": "DeleteSubUser",
        "action_user_id": "[ActionUserID]"
    }
}

GetUserInfo

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

GetSubUsers

<?xml version="1.0"?>
<query>
<!-- Main fields -->
	<userid>[UserID]</userid>
	<userkey>[UserKey]</userkey>
	<action>getsubusers</action>
</query>
{
    "query": {
        "userid": "[UserID]",
        "userkey": "[UserKey]",
        "action": "getsubusers"
    }
}

GetASM

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

GetStorageSpace

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

GetBandwidthStat

<?xml version="1.0"?>
<query>
	<userid>[UserID]</userid>
	<userkey>[UserKey]</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": "[UserID]",
        "userkey": "[UserKey]",
        "action": "GetBandwidthStat",
        "action_user_id": "[ActionUserID]",
        "date_from": "[YYYY-MM-DD]",
        "date_to": "[YYYY-MM-DD]"
    }
}

GetBandwidthStatGroupDate

<?xml version="1.0"?>
<query>
	<userid>[UserID]</userid>
	<userkey>[UserKey]</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": "[UserID]",
        "userkey": "[UserKey]",
        "action": "GetBandwidthStatGroupDate",
        "action_user_id": "[ActionUserID]",
        "date_from": "[YYYY-MM-DD]",
        "date_to": "[YYYY-MM-DD]"
    }
}