DIAL.GETSTATUS - API CALL
|
|
|
DIAL.GETSTATUS - returns a status of DIAL.CALLFLOW or DIAL.CONNECT API request.
|
|
Description
|
|
DIAL.GETSTATUS returns a status of DIAL.CALLFLOW or DIAL.CONNECT API request.
|
|
Arguments
|
|
REQUESTID - required. REQUESTID is a valid value returned by DIAL.CALLFLOW or DIAL.CONNECT API Request.
|
|
|
Example:
<PARAMETER NAME="REQUESTID">904b0b894dc5b679c1c1c13f6d</PARAMETER>
|
|
Example:
param[REQUESTID]=904b0b894dc5b679c1c1c13f6d
|
|
Each parameter value needs to be URL Encoded separately.
|
|
|
Response
|
|
RESULT tag will have a status.
|
|
STATUS can be one of the following values:
- NONE - No DIAL attempt has been made.
- INIT - Dialing.
- START - Called party(s) answered the call.
- END - Call ended.
|
|
|
API Request Example
|
|
<?xml version="1.0" standalone="no" ?>
<REQUEST>
<USERTOKEN>
<USERKEY>YOURUSERKEY1891e2e883904b0b894dc5b679c1c1c13f6d</USERKEY>
</USERTOKEN>
<ACTION NAME="DIAL.GETSTATUS">
<PARAMETER NAME="REQUESTID">SOMEREQUESTID102.212.216</PARAMETER>
</ACTION>
</REQUEST>
|
|
https://www.anveo.com/api/v2.asp?userkey=YOURAPIKEY&action=DIAL.GETSTATUS¶m[REQUESTID]=904b0b894dc5b679c1c1c13f6d
|
|
Each parameter value needs to be URL Encoded separately.
|
|
|
Response Example
|
<?xml version="1.0" standalone="no" ?>
<RESPONSE>
<RESULT>END</RESULT>
</RESPONSE>
|
|