Store Agent Response
storeAgentResponse
Use this function when an agent is done with their call. This function will
store the response and notes for the call and also puts the agent back into a queue to receive the
next call. Once this function is called, use the
getConnectionForAgent immediately after to
get connection information of the call.
Parameters
- key - (String) your api key from the account page
- campaignId - (long) the campaign id
- agentId - (String) the agent id for which you need the connection information
- callId - (String) the CallType id that is being reported on
- agentResponse - (String) A disposition for the call to be stored
- agentNotes - (String) Notes about the call to be stored
- lastcall - (Boolean) set to true if this is the agents last call and wants to hangup. otherwise
false to put the agent back on the queue for the next call.
Response
- No Response. Exception thrown on error.