04-25-2017 01:18 PM
Hi
I have business scenario whenever incoming call comes to agent and customer is not talking, we would like to update wrapupdata column in HDS DB server for reporting purpose. i am trying with below options and getting error message, can one of you please help me what is correct request?
http://FinesseServer/finesse/api/Dialog/67109877
<Dialog> <requestedAction>UPDATE_CALL_DATA</requestedAction> <mediaProperties> <callvariables> <CallVariable> <name>WrapupData</name> <value>00:01:00</value> </CallVariable> </callvariables> </mediaProperties> </Dialog>
i have tried name as callWrapupData/WrapupData/Wrapup.
Also do i need to call UPDATE_CALL_DATA action only after DROP to update wrap up data column filed?
Note: We are using UCCE 11.5 for Finesse servers
Solved! Go to Solution.
04-25-2017 01:51 PM
Hi Purna,
The XML for the body should be:
<Dialog> <requestedAction>UPDATE_CALL_DATA</requestedAction> <mediaProperties> <wrapUpReason>00:01:00</wrapUpReason></mediaProperties> </Dialog>
Please take a look at the specific REST API doc here: Dialog—Update Call Variable Data
Here is the link for the full doc: https://developer.cisco.com/site/finesse/docs/guides/rest-api-dev-guide/
For your question:
Also do i need to call UPDATE_CALL_DATA action only after DROP to update wrap up data column filed?
You can update the wrap up data anytime during the call. If you want to be able to update the wrap up data after the call, the agent MUST be in wrap up state to preserve the call/call information longer. If the agent is not in wrap up state, the call will be removed from Finesse's database and you will not be able to update the wrap up information (you will get an error).
Thanx,
Denise
04-25-2017 01:51 PM
Hi Purna,
The XML for the body should be:
<Dialog> <requestedAction>UPDATE_CALL_DATA</requestedAction> <mediaProperties> <wrapUpReason>00:01:00</wrapUpReason></mediaProperties> </Dialog>
Please take a look at the specific REST API doc here: Dialog—Update Call Variable Data
Here is the link for the full doc: https://developer.cisco.com/site/finesse/docs/guides/rest-api-dev-guide/
For your question:
Also do i need to call UPDATE_CALL_DATA action only after DROP to update wrap up data column filed?
You can update the wrap up data anytime during the call. If you want to be able to update the wrap up data after the call, the agent MUST be in wrap up state to preserve the call/call information longer. If the agent is not in wrap up state, the call will be removed from Finesse's database and you will not be able to update the wrap up information (you will get an error).
Thanx,
Denise
04-25-2017 02:48 PM
Thanks Denise for your answer and it is working as expected.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide