How to build complex queries with Contentstack Management C# SDK v0.5.0 without using JObject or raw JSON strings

1 week ago 9
ARTICLE AD BOX

I'm using Contentstack.Management.CSharp v0.5.0 and need to fetch entries with a complex query involving nested $and and $or conditions.

My Query:

{ "$and": [ {"is_enable": true}, {"banner_type": "homepage"}, { "$or": [ {"disable_date_validation": true}, { "$and": [ {"disable_date_validation": false}, {"start_date_time": {"$lte": "2025-11-26T10:00:00.000Z"}}, {"end_date_time": {"$gte": "2025-11-26T10:00:00.000Z"}} ] } ] } ] }
Read Entire Article