rama.meenavilli | 2021-02-03 05:55:34 UTC | #1
Is there any api to get userId while passing conversationId?
Because some conversations we didn't get userId on desired conversationStart time and conversationEnd time. When we expand the time, we got it.
So our idea is to update the userId once the conversation end.
/api/v2/analytics/conversations/aggregates/query
rama.meenavilli | 2021-02-03 13:14:48 UTC | #2
API: POST /api/v2/analytics/conversations/aggregates/query
My requirement is to map the userId and conversationId as CallRecordKey to process the further details. Some records we didn’t received userId since the conversation not yet started/ended at the given interval time. Are there any alternative API to get userId and conversationId?
For example: conversation_id a0a316e2-efda-415b-bba8-8fa2bbd0000c . Not received agent details even expanding the time interval.
tim.smith | 2021-02-03 16:20:15 UTC | #3
rama.meenavilli, post:2, topic:9879
Some records we didn’t received userId since the conversation not yet started/ended at the given interval time.
rama.meenavilli, post:1, topic:9879
So our idea is to update the userId once the conversation end.
Conversation data is not modifyable beyond setting participant attributes. If a conversation hasn't been assigned to a user, there won't be data about a user in the conversation. If you're reporting that conversations that have been assigned to users are not tracking this information in the conversation data that you've retrieved after the user was assigned, please open a case with Genesys Cloud Care to investigate the missing data.
rama.meenavilli | 2021-02-04 02:56:06 UTC | #4
Is there any api for the following requitrement? Get userId and conversationId by passing time interval? or Get userId by passing conversationId?
Jerome.Saint-Marc | 2022-05-01 08:20:36 UTC | #5
Hello,
If you know the conversationId, you can retrieve the conversation context using the Conversation API or the Analytics API. The conversation context will contain the different participants who were involved in this conversation. If you are looking for the Contact Center Agents, this will correspond to participants with purpose="agent".
As a note, there are 2 "repositories" for conversation data in the Genesys Cloud platform.
When a conversation is created, its data can be retrieved:
- via the Conversation API (requests starting with /api/v2/conversations) for up to 60 days after the conversation happened.
- via the Analytics API (requests starting with /api/v2/analytics)
Analytics data is available immediately (while the conversation is active) and is kept forever. From 0 to 60 days, you can retrieve data via the 2 APIs (Conversation API and Analytics API). After 60 days, the data is only available via the Analytics API.
To get a specific conversation based on its conversationId:
As Tim explained above, Conversation data is not modifiable beyond setting participant attributes. You cannot set or update a userId via API.
Regards,
system | 2021-03-06 06:44:32 UTC | #6
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 9879