jkskynz | 2021-04-18 23:09:12 UTC | #1
Hi,
We're working our way through the genesys APIs and was wandering if there is any Conversation related APIs that'll give us the same response as it would if it was a conversation detail job.
We're trying to get the data that's falling outside of the jobs data lake, i.e. from 7pm local time(NZT) to midnight previous day, and join/merge with the job's response.
We tried https://api.mypurecloud.com.au/api/v2/conversations/conversation_id but it seems like that one is missing metric data. And we tried /api/v2/analytics/conversations/{conversationId}/details but that one is missing the custom attributes data and we need both.
Thanks Regards Jay
Jerome.Saint-Marc | 2021-04-19 13:39:27 UTC | #2
Hello,
Unfortunately no. Analytics API (/api/v2/analytics) is the only one to expose metrics information. And in Analytics API, the participant attributes are only available using the asynchronous query for conversation details (job) [I mean POST /api/v2/analytics/conversations/details/jobs].
Regards,
jkskynz | 2021-04-19 20:29:12 UTC | #3
Thanks Jerome,
Since the convo details job (the post /api/v2/analytics/conversations/details/jobs) will have the data availability limitation we'll be looking for another way to get the attribute data for those conversations. In that case, I'm assuming the only work around is to do a conversation API call on those missing conversations and then join the data separately from our end?
As a quick FYI, the problem we're trying to solve is to fill in the gap of previous day's data availability time till midnight local time so we can report the next day what happened yesterday.
(So e.g. today I want to report on what happened yesterday midnight to midnight; not anything real-time)
We need this availability since our standard business hours are till 9/10 pm and by pulling in the data with the convo detail job only we're missing from around 7~8pm till midnight.
Thanks Regards Jay
EDIT: also a quick Q. Is it possible to get the data availability changed for our business case so we can do 1 job call rather than multiple API calls?
Jerome.Saint-Marc | 2021-04-20 12:51:10 UTC | #4
Hello,
I don't think it is possible to get the data availability changed (there are some batch scripts that execute once a day for the org) but as I am not on platform side (operation, management), I can't say for sure. I'd suggest to open a ticket with Genesys Care to ask. If it's possible, this would go through them anyway. And if it's not, they can confirm.
Regards,
system | 2021-05-21 12:51:13 UTC | #5
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 10670