|
|
DID.MOVE - Move DID between users/accounts.
|
|
Description
|
|
DID.MOVE API Action is used to move DID(s) between users/sub-accounts in your account.
|
|
DID.MOVE API Action DOES NOT change CALL/SMS routing/handling options.
|
|
Arguments
|
|
E164
Required. E164 of a DID number to be canceled.
ACCOUNT_NUMBER
Optional. If DID currently belongs to a sub account then ACCOUNT_NUMBER is required and it must contain an account number of the DID number to be moved.
TO_ACCOUNT_NUMBER
Required. Destination ACCOUNT_NUMBER where DID number will be moved to.
|
|
|
Example:
<PARAMETER NAME="E164">12123456789</PARAMETER>
<PARAMETER NAME="ACCOUNT_NUMBER">23434323423</PARAMETER>
<PARAMETER NAME="TO_ACCOUNT_NUMBER">9874534234</PARAMETER>
|
|
Example:
param[E164]=12123456789
param[ACCOUNT_NUMBER]=23434323423
param[TO_ACCOUNT_NUMBER]=9874534234
|
|
|
Response
|
|
SUCCESS when DID was moved successfully and DIDs node will contain a updated DID entry.
|
|
API Request Example
|
|
<?xml version="1.0" standalone="no" ?>
<REQUEST>
<USERTOKEN>
<USERKEY>df141891e2e883904b0b294dc5bq79c1c1c13f6d</USERKEY>
</USERTOKEN>
<ACTION NAME="DID.MOVE">
<PARAMETER NAME="E164">12123456789</PARAMETER>
<PARAMETER NAME="ACCOUNT_NUMBER">23434323423</PARAMETER>
<PARAMETER NAME="TO_ACCOUNT_NUMBER">9874534234</PARAMETER>
</ACTION>
</REQUEST>
|
|
https://www.anveo.com/api/v2.asp?userkey=YOURAPIKEY&action=DID.CANCEL¶m[E164]=12123456789
|
|
|
Response Example
|
<?xml version="1.0" standalone="no" ?>
<RESPONSE>
<RESULT>SUCCESS</RESULT>
<DIDS>
<DID E164="12121111111" DID_TYPE="GEOGRAPHIC" SMS_URL="" SMS_EMAIL=""
CALL_FORWARD_TYPE="CALLFLOW" CALL_FORWARD_TO="8c25e06faf2b98erts3gdtb83df91b307ff287f1"
STATUS="Active" COUNTRY_NAME="UNITED STATES" AREA_NAME="New York" AREA_CODE="212" MONTHLY100="149" TITLE="" ACCOUNT_NUMBER="9874534234"/>
</DIDS>
</RESPONSE>
|
|
|