lukemitchell | 2021-02-18 10:53:48 UTC | #1
Hi,
I am trying to bulk delete all recordings with a specific wrapup code, has anybody completed this or could point out what is wrong here?
{ "action": "DELETE", "actionDate": "2021-02-18T12:00:00.000Z", "integrationId": "", "includeScreenRecordings": true, "conversationQuery": { "segmentFilters": [ { "type": "and", "clauses": [ { "type": "and", "predicates": [ {} ] } ], "predicates": [ { "type": "dimension", "dimension": "wrapUpCode", "propertyType": "uuid", "property": "ecd1e097-7c8c-423f-8607-df1d855641xx", "operator": "matches", "value": "ecd1e097-7c8c-423f-8607-df1d855641xx", "range": {} } ] } ], "order": "asc", "orderBy": "conversationStart", "interval": "", "limit": 100, "startOfDayIntervalMatching": true } }
Thanks
Jerome.Saint-Marc | 2021-02-18 12:01:35 UTC | #2
Hello,
This would probably look something like this. Note that "interval" is mandatory. I don't know if there is a maximum value for this parameter (I mean maximum number of days for the interval).
{ "action": "DELETE", "actionDate": "2021-02-18T12:00:00.000Z", "includeScreenRecordings": true, "conversationQuery": { "segmentFilters": [ { "type": "and", "predicates": [ { "type": "dimension", "dimension": "wrapUpCode", "operator": "matches", "value": "ecd1e097-7c8c-423f-8607-df1d855641xx" } ] } ], "order": "asc", "orderBy": "conversationStart", "interval": "2021-02-01T23:00:00.000Z/2021-02-18T23:00:00.000Z", "startOfDayIntervalMatching": true } }
Regards,
system | 2021-03-21 12:01:38 UTC | #3
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: 10024