<... promptid="">

 

Type

attribute

Parents

prompt

Data type

int

Values

valid prompt id.

Description

Identifier for a prompt in a call campaign.  You can find a prompt's promptid on the Developer tab after clicking on the prompt.  Promptids for API prompts show in parentheses on the Campaign Layout. 

 

Example 1: Sending a call

<campaign menuid="1-1234" action="0">

   <prompts>

      <prompt promptid="2" tts="Web server 5 is down." />

   </prompts>

   <phonenumbers>

      <phonenumber number="8185550100" callid="123abc" callerid="8182238964" />

   </phonenumbers>

</campaign>

 

Example 2: Key press Call Event

<prompt menuid="1-3" callid="213167" promptid="2" keypress="10000000"/>

 

Example 3: Call Summary for an inbound call

<?xml version="1.0" ?>

<campaign menuid="1-3" duration="25" callerid="8182238964" callid="213155" dateandtime="5/23/2004 3:11:38 PM">

   <prompts>

      <prompt promptid="1" keypress="2">

      </prompt>

      <prompt promptid="3" keypress="1">

      </prompt>

   </prompts>

</campaign> 

 

Example 3: Call Query Results

<campaign menuid="1-1234">

   <phonenumbers>

       <phonenumber number="8182238964" dateandtime="5/22/2004 4:15:15 PM" callid="123" duration="15" status="Successful" comment="Human Answer">

         <prompts>

            <prompt promptid="1" keypress="" />

            <prompt promptid="2" keypress="" />

            <prompt promptid="3" keypress="#" />

         </prompts>

      </phonenumber>

   </phonenumbers>

</campaign>