SUBACCOUNT.CREATE - API CALL
|
|
|
SUBACCOUNT.CREATE - creates a sub-account.
|
|
Description
|
|
SUBACCOUNT.DELETE is used to delete a sub-account.
|
|
|
In order to delete a sub-account it must not contain any child sub-accounts and must not contain active phone numbers.
|
|
Arguments
|
|
ACCOUNT_NUMBER
Required. Account number of the sub-account to be deleted.
|
|
|
Example:
<PARAMETER NAME="ACCOUNT_NUMBER">1234567890</PARAMETER>
|
|
Example:
param[ACCOUNT_NUMBER]=1234567890;
|
|
|
|
Response
|
|
If operation is successful then RESULT will contain SUCCESS.
|
|
API Request Example
|
|
<?xml version="1.0" standalone="no" ?>
<REQUEST>
<USERTOKEN>
<USERKEY>YOURUSERKEY1891e2e883904b0b894dc5b679c1c1c13f6d</USERKEY>
</USERTOKEN>
<ACTION NAME="SUBACCOUNT.DELETE">
<PARAMETER NAME="ACCOUNT_NUMBER">0123456789</PARAMETER>
</ACTION>
</REQUEST>
|
|
https://www.anveo.com/api/v2.asp?userkey=YOURAPIKEY&action=SUBACCOUNT.DELETE¶m[ACCOUNT_NUMBER]=23434323423
|
|
|
Response Example
|
<?xml version="1.0" standalone="no" ?>
<RESPONSE>
<RESULT>SUCCESS</RESULT>
</RESPONSE>
|
|
Please remember that XML is CASE SENSITIVE. All ANVEO API XML tags and attributes should be in upper case.
|
|