Chris_Phillips | 2019-05-17 23:00:24 UTC | #1
I am calling
https://api.mypurecloud.com/api/v2/conversations/{id} to get convo details
The first time I call it all the "call" objects have an empty segments array.
If I call it a second time right after the segments are now added in ....??
Any idea what is going on?
Its happened multiple times
Thanks
Chris
tim.smith | 2019-05-20 13:56:23 UTC | #2
You will always get the most current data when calling the API. You're probably seeing that the call object doesn't have any segments because it hasn't been created yet. Once you wait a bit and call it again, there is data because the call segments were created since the previous API call.
Chris_Phillips | 2019-05-24 20:40:36 UTC | #3
Hi Tim
I finally got some more time to test this. It seems like its some sort of caching issue?
I tried it by randomly grabbing a conversation that was completed ~ 6 days ago.
I called it, no segments, called it immediatly after, there are segments.
I will fill a support ticket I guess.
Thanks
Chris
tim.smith | 2019-05-28 15:07:08 UTC | #4
Chris_Phillips, post:3, topic:5182
I tried it by randomly grabbing a conversation that was completed ~ 6 days ago.
I called it, no segments, called it immediatly after, there are segments.
That definitely doesn't sound right. Opening a case with PureCloud Care is the way to go.
system | 2019-06-28 15:20:27 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: 5182