gil.shidlansik | 2019-11-17 14:29:46 UTC | #1
Hello everyone,
I am using the Conversation listing APIs (/v2/analytics/conversations/details?id={conversationId}, /v2/analytics/conversations/details/query), and filter some conversations based on whether they had a session that was recorded (per, for example, https://developer.mypurecloud.com/api/rest/v2/conversations/#get-api-v2-analytics-conversations--conversationId--details, --> participants --> sessions --> recording).
For some of these Conversations, when I follow up with /v2/conversations/{conversationId}/recordings I get 404 Not Found, even though I got the indication that there are recordings.
My question is: is there a way to know whether the recordings still exist when I use the analytics API? Or do I have to use the recordings API (https://developer.mypurecloud.com/api/rest/v2/recording/#get-api-v2-conversations--conversationId--recordings)?
Thanks,
GS
tim.smith | 2019-11-19 18:44:38 UTC | #2
gil.shidlansik, post:1, topic:6499
is there a way to know whether the recordings still exist when I use the analytics API? Or do I have to use the recordings API
The recordings API is the source of truth for recordings. Analytics results may contain information about recordings in some circumstances, but not all.
gil.shidlansik | 2019-11-20 16:24:32 UTC | #3
So, /api/v2/conversations/{conversationId}/recordingmetadata/{recordingId} should have an indication for that?
tim.smith | 2019-11-20 20:02:59 UTC | #4
An indication for what?
gil.shidlansik | 2019-11-21 06:37:58 UTC | #5
I mean to ask if in the response of - /api/v2/conversations/{conversationId}/recordingmetadata/{recordingId} there would be some indication that the recording isn't available?
tim.smith | 2019-11-21 16:24:33 UTC | #6
If you have a recording ID, there is a recording.
system | 2019-12-21 16:24:36 UTC | #7
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: 6499