Ray1 | 2022-05-13 04:24:15 UTC | #1
Good day All,
I need to export all email recordings to S3 . the GC configuration is all done and any new email recording go to the S3 bucket , work 100% . Now the second part is to get all the old recordings from before i create the policy and also to save them to the S3 bucket.
For this you need to use the recoding's job api . My problem is.
The recoding's Job api finds 0 recordings but for the same segment filter in the analytic query builder i get results . What is wrong with my recording job query? Sample Recording job query=============================== { "action": "EXPORT", "actionDate": "2022-05-01T00:00:00.000Z", "integrationId": "b7a63784-f614-4744-a565---------", "conversationQuery": { "segmentFilters": [ { "type": "and", "predicates": [ { "type": "dimension", "dimension": "mediaType", "operator": "matches", "value": "email" } ] } ], "order": "asc", "orderBy": "conversationStart", "interval": "2022-05-12T14:00:00.000Z/2022-06-12T14:00:00.000Z", "limit": 100 } }
out put ================================================== { "id": "6a2fa720-4a23-4e4c-9170-b065fbf23252", "state": "PENDING", "recordingJobsQuery": { "action": "EXPORT", "actionDate": "2022-05-01T00:00:00Z", "integrationId": "b7a63784-f614-4744-a565-5403135265ec", "includeScreenRecordings": true, "conversationQuery": { "segmentFilters": [ { "type": "and", "predicates": [ { "type": "dimension", "dimension": "mediaType", "operator": "matches", "value": "email" } ] } ], "order": "asc", "orderBy": "conversationStart", "interval": "2022-05-12T14:00:00.000Z/2022-06-12T14:00:00.000Z", "limit": 100, "startOfDayIntervalMatching": false } }, "dateCreated": "2022-05-13T03:57:40.108Z", "totalConversations": 0, "totalRecordings": 0, "totalSkippedRecordings": 0, "totalFailedRecordings": 0, "totalProcessedRecordings": 0, "percentProgress": 0, "selfUri": "/api/v2/recording/jobs/6a2fa720-4a23-4e4c-9170-b065fbf23252", "user": { "id": "4bdecfef-ef7f-4392-a5ec-77ace8a60738", "selfUri": "/api/v2/users/4bdecfef-ef7f-4392-a5ec-77ace8a60738" } }
Sample analytics query=====================
{
"interval": "2022-05-12T14:00:00.000Z/2022-06-12T14:00:00.000Z",
"order": "asc",
"orderBy": "conversationStart",
"paging": {
"pageSize": 25,
"pageNumber": 1
},
"segmentFilters": [
{
"type": "and",
"predicates": [
{
"type": "dimension",
"dimension": "mediaType",
"operator": "matches",
"value": "email"
}
]
}
]
}
Out put returned more that 100 row =======
system | 2022-06-13 04:24:40 UTC | #2
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: 14736