CALLFLOW.COPY - API REQUEST
|
|
|
CALLFLOW.COPY - Make a copy of Call Flow and (optionally) place it into a sub-account.
|
|
Description
|
|
CALLFLOW.COPY API Action is used to make a copy of the existing call flow and optionally place the copy into a sub account.
|
|
Arguments
|
|
CALLFLOW
Required. API KEY of an existing call flow to be copied.
NAME
Optional. A new name for Call Flow copy.
ACCOUNT_NUMBER
Optional. Account number only required when listing Call Flows from sub account.
|
|
|
Example:
<PARAMETER NAME="CALLFLOW">fdd89f89df9f7d8s9df</PARAMETER>
<PARAMETER NAME="NAME">New copy</PARAMETER>
<PARAMETER NAME="ACCOUNT_NUMBER">123456789</PARAMETER>
|
|
Example:
param[ACCOUNT_NUMBER]=23434323423
param[CALLFLOW]=fdd89f89df9f7d8s9df
param[NAME]=New%20copy
|
|
Each parameter value needs to be URL Encoded separately.
|
|
|
Response
|
|
CALLFLOWS XML Node contains information about the new Call Flow created.
|
|
API Request Example
|
|
<?xml version="1.0" standalone="no" ?>
<REQUEST>
<USERTOKEN>
<USERKEY>df141891e2e883904b0b294dc5bq79c1c1c13f6d</USERKEY>
</USERTOKEN>
<ACTION NAME="CALLFLOW.COPY">
<PARAMETER NAME="CALLFLOW">fdd89f89df9f7d8s9df</PARAMETER>
<PARAMETER NAME="NAME">Backup</PARAMETER>
</ACTION>
</REQUEST>
|
|
https://www.anveo.com/api/v2.asp?userkey=YOURAPIKEY&action=CALLFLOW.COPY¶m[ACCOUNT_NUMBER]=23434323423¶m[CALLFLOW]=fdd89f89df9f7d8s9df¶m[NAME]=New%20copy
|
|
|
Response Example
|
<?xml version="1.0" standalone="no" ?>
<RESPONSE>
<RESULT>SUCCESS</RESULT>
<CALLFLOWS>
<CALLFLOW CALLFLOW="ejhker9er8uerjehre8r9erjhere8r" CALLFLOW_NAME="Backup"
NOTES="test api" UPDATED_ON="5/3/2011 11:15:13 AM" ITEM_COUNT="29" STATUS="Ok"/>
</CALLFLOWS>
</RESPONSE>
|
|