PostContentmanagementQuery with Filters and AttributeFilters (ContentFilterItem and AttributeFilterItem)

Hey all, I'm new to development on the Genesys Purecloud platform, and I had a couple of questions about the API. I'm currently trying to query for documents using the ContentManagementApi PostContentmanagementQuery method, with the QueryRequest object. So far, I'm able to get search results based on the QueryPhrase that's provided.

However, I'm having issues when I try to use the Filters and AttributeFilters properties. The main the issue that I am running into is that there doesn't seem to be any documentation on the subject. Specifically, there's no documentation on what ContentFilterItem names and AttributeFilterItem IDs are available to use in the query. I've trying making some ContentFilterItems based on filters I generate in the Purecloud UI, but that's still causing a lot of fumbling to figure out what works correctly.

One thing I'm trying to figure out in the PostContentmanagementQuery method is how to filter by Create Date or Modified Date. The filters i've created, using ContentFilterItem.TypeEnum.Date and ContentFilterItem.OperatorEnum.Equals don't seem to be working, as they don't filter anything.

Any help would be appreciated, or letting me know if you need clarification on my questions.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.