Genesys CTI User Forum
Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: jaysteven on December 03, 2018, 03:49:30 PM
-
We have created a customer facing chat client using chat 2 api to initiate client chats with agents. We would like to be able to get the chat transcript by the client that initiated the chat (not by the agent) so that we can store it in a database and/or a file related to that client. I don't see any way to do it with the chat 2 api (I tried to call refresh chat after it ended but that doesn't work - probably because that is only for live ongoing chats). There seems to be quite a few different apis and I am having trouble finding one that would allow me to do this. I would prefer to do it either with REST calls or a java SDK if available.
Any ideas how this could be accomplished?
-
if you are looking for Chat transcript you can get it from UCS DB.
-
I won't have access to the UCS DB directly. I don't think our architecture people would want to open up ports for us to connect to the db on the genesys server - the genesys server is pretty locked down as are the servers we run on. I was looking for either a RestAPI or a java SDK to get the transcripts.
Is there a REST api or Java SDK that I could use to get chat transcripts? I would like to be able to get them by the user initiating the chat, not the agent that handles the chat.
-
Why not at strategy level? After the agent you grab it and instead of sending via email for example you store it somewhere else
Enviado de meu E6633 usando o Tapatalk
-
That sounds promising. Is there a link to some documentation I can look at pertaining to your suggestion?
Honestly, there are so many API's on the genesys site, it is hard to determine which one to use.
-
Wouldn't be an API, that is for external integration. This is a function within IRD or Composer.
Check strategy samples documentation for multimedia, there is a simple chat strategy and the function will be there. I don't have it right now and can't remember the name.
Enviado de meu E6633 usando o Tapatalk
-
OK, unfortunately that won't work. The team that handles Genesys is not able to do anything like that within our timelines due to their heavy workload.
Since that option is out and we need to do this as part of an external integration, is there a Rest API/SDK that we could use to get chat transcripts? We would preferable like to ask for them by the chat initiator - not by the agent that answered the chat.
-
Yes your need is already understood. However, the transcript is inside UCS which is an storage basically.
Check this
https://docs.genesys.com/Documentation/UCS/9.1.x/RESTAPI/Welcome
Maybe that will help you. I haven't checked it out deeply so can't say if will help on what you need. But looks promising
Enviado de meu E6633 usando o Tapatalk
-
https://docs.genesys.com/Documentation/UCS/9.1.x/RESTAPI/OMInteractionsGetInteractionContent
Enviado de meu E6633 usando o Tapatalk
-
[quote author=cavagnaro link=topic=11205.msg51018#msg51018 date=1543936896]
https://docs.genesys.com/Documentation/UCS/9.1.x/RESTAPI/OMInteractionsGetInteractionContent
Enviado de meu E6633 usando o Tapatalk
[/quote]
Considering UCS 9.x