Connect API - How to get agent connection info for a particular contact

0

I am trying to use the AWS Connect API (using .NET) to get the same data that can be returned from the Contact Search in the Connect UI. I am able to get most of the fields by calling SearchContacts to get a list of contacts for a particular date range. I also added other fields to the user defined contact attributes and I'm calling GetContactAttributes to get those.

However, I haven't been able to return the fields AfterContactWorkStartTimestamp, AfterContactWorkEndTimestamp, and AgentConnectionAttempts.

How do I get the fields (AfterContactWorkStartTimestamp, AfterContactWorkEndTimestamp, and AgentConnectionAttempts) returned from the Connect API if I know the Contact ID and Agent ID?

已提问 1 个月前117 查看次数
1 回答
0
已接受的回答

Hello!

Kindly note that the SearchContacts API does not return all the information that is shown in the Contact Search console on Amazon Connect console. If we refer to the the documentation we can see that the response body does not contain the fields of fields AfterContactWorkStartTimestamp, AfterContactWorkEndTimestamp, and AgentConnectionAttempts.

You can export contact records and agent events from Amazon Connect and perform real-time analysis on contacts. As a workaround for this use-case, we can enable data streaming for the connect instance Data streaming sends data to Amazon Kinesis. Please refer to the doc here for further information about the same: https://docs.aws.amazon.com/connect/latest/adminguide/data-streaming.html

Hope this helps!

Cheers.

AWS
已回答 1 个月前
profile picture
专家
已审核 1 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则

相关内容