cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
483
Views
1
Helpful
1
Replies

Cannot create survey for ECE api conversations,

I cannot create a survey for conversation created by Intergrator.
I'm starting conversation with request /ws/v19/clientapplications/messaging/conversation/start?searchContactOnAttribute={value}

https://pubhub.devnetcloud.com/media/enterprise-chat-and-email/docs/guides/interaction-api-developer-guide/d2/d44/classclientapplications_1_1pages_1_1asyncmessaging_1_1_start_conversation_page.html#v19_clientapplications_start_conversation_page
after conversation is finished I try to create survey with request to endpoint /egain/chat/entrypoint/survey

https://pubhub.devnetcloud.com/media/enterprise-chat-and-email/docs/downloads/previous-documentation/webservices-api-chat-developer-guide/ece_12_6_webservices_api_chat.pdf

I'm getting http 400 without any message. I'm assuming that sid attribute value is incorrect. When conversation is created by js sdk everything works fine. I found that conversation sessions created by js sdk are stored in EGLV_BOSH_SESSION and one created by ece api are stored in EGLV_ASYNC_SESSION. Column value SESSION_ID from EGLV_BOSH_SESSION allows to create a survey and SESSION_ID from EGLV_ASYNC_SESSION doesn't. I tried some variants of sid e.g
SESSION_ID
ACTIVITY_ID_SESSION_ID
ACTIVITY_ID

I need to create a survey for conversation created by a ECE REST API. Is it possible?

1 Reply 1

dekwan
Cisco Employee
Cisco Employee

Hi,

The best way to get help on ECE APIs is to send an email to ask-ece-dev@external.cisco.com.

Thanx,

Denise