Devon_Cormack | 2023-11-09 21:09:47 UTC | #1
Hello, I'm trying to query the Outbound Audit API and am struggling with the filter operators. I am getting a response telling me the filter operator is incorrect. What are permissible values for filter operator? Is there a resource I should be consulting for this? Thank you!
Endpoint: https://api.{{environment}}/api/v2/outbound/audits
Body: { "queryFields": [ "campaignName" ], "queryPhrase": "Day0", "filters": [ { "name": "timestamp", "type": "DATE", "values": [ "2023-11-08" ], "operator": ">" } ] }
Thanks for your help!!
jacobshaw | 2023-11-15 15:39:35 UTC | #2
HI @Devon_Cormack The Outbound Audit API is slated to be replaced by the Audit APIs
I would recommend using this resource instead https://developer.genesys.cloud/platform/audit/#post-api-v2-audits-query The docs for this resource list valid filter keys as: UserId, TrusteeOrganizationId, ClientId, Action, EntityType, EntityId
Deprecation announcement here: https://developer.genesys.cloud/forum/t/deprecation-outbound-search-audits-api/21356
system | 2023-12-15 15:39:38 UTC | #3
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 23043