I want to delete all non-ACD recordings in a timeframe using the Recordings API. In the API docs, there is this basic implementation on how to create a recording bulk job. When I look through the available Dimensions, I can't find where to specify whether it's a ACD or Non-ACD recording: Dimensions
function createRecordingBulkJob(){
return recordingApi.postRecordingJobs({
action: 'EXPORT', // set to "EXPORT" for export action
actionDate: '2029-01-01T00:00:00.000Z',
integrationId: '-- integration id here --', // Only required when action is EXPORT
includeScreenRecordings: true,
conversationQuery: {
interval: '2019-01-01T00:00:00.000Z/2019-06-11T00:00:00.000Z',
order: 'asc',
orderBy: 'conversationStart'
}
})
}
Any idea how can I filter for only the non-ACD calls?
I haven't been able to find a way in current capabilities to filter by whether or not a conversation was explicitly ACD routed. It is possible to filter where "queueId" does not exist however, which should also apply to all non-ACD conversations. For instance:
Hi Joey,
Thanks for your response. But it seems it does not work. I try the below two mutex query, and found in both result contain one conversation which have the same conversation id Id.
I believe this because this conversation was spitted into several segments, thus became serval records in the database, some fulfil "notExists" queueId, some fulfil "exists" queueId.
Could you please provide more guideline on it?