09-17-2024 01:33 PM
Hello everyone,
I need to extract chat transcript once agents completes the chat request and post it to a CRM. The environment is SSO, so ece agent use finesse token to login to ECE gadget as well once they sign into finesse.
The "activity api" (/ws/v12/interaction/activity/{IDs}) which provides chat transcript need "x-egain-sessionid" which we get from "login api " (/ws/v12/authentication/user/login). But I am not able to call "login api" as all the ece agents are configured in UCCE with SSO.
Any suggestions on how to call this login api to get "x-egain-sessionid"?
I already sent email to "ask-ece-dev@external.cisco.com <ask-ece-dev@external.cisco.com>" , but haven't received any response.
Thanks,
R
09-17-2024 07:08 PM
Not sure if this helps you, this actually mentions Egain 15 for some reason, but it says if you're logged into ECE, the agent is automatically logged into the API?
https://developer.cisco.com/docs/enterprise-chat-and-email/interaction-api-developer-guide/
09-19-2024 12:35 PM
Thanks for the response. As you mentioned, once the agent logged in, the logged agent can call the apis. As custom gadget stays in its own container, the custom gadget can't access the cookies/session outside of its domain which is finesse. Thus the gadget won't able to call the ece api from its container without authenticating again.
The workaround I have done is directly calling the ece api from the cisco out of the box ece gadget by modifying the source code.
-R
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