Hello.
My client is using groups to receive voicemails. I want to create a node js program with SDK to get all voicemails to all groups. Details are shown as follows:
query:
"/api/v2/analytics/conversations/details/query"
params:
{"order":"desc","orderBy":"conversationStart","paging":{"pageSize":50,"pageNumber":1},"segmentFilters":[{"type":"or","predicates":[{"dimension":"direction","value":"inbound"},{"dimension":"direction","value":"outbound"}]},{"type":"or","clauses":[{"type":"and","predicates":[{"dimension":"purpose","operator":"matches","value":"voicemail"}]}]}],"conversationFilters":[],"evaluationFilters":[],"surveyFilters":[],"interval":"2023-08-30T16:00:00.000Z/2023-08-31T16:00:00.000Z"}
On the UI page and interaction in purecloud, it showed 11 interaction.
However, on the node js program with oauth and same query, it only return 1 interactions?
Why are there differences and how can I get all 11 interactions as purecloud?
Is it related to authentication?
Thank you.