Is there a way to search by chaining WithFilter?
Closed this issue · 1 comments
axelgunn commented
I need to search tickets by status and customerId.
I hoped this structure was supported but it's not. Is there another way ?
client.Search.SearchAsync<ZendeskApi.Client.Responses.TicketResponse>(
q => q.WithFilter("status", status, FilterOperator.Equals) &&
q.WithFilter("customerId", "12345", FilterOperator.Equals) ));
thanks
Axel G
axelgunn commented
Closing this one.....
client.Search.SearchAsync<ZendeskApi.Client.Responses.TicketResponse>(
q => q
.WithFilter("status", status, FilterOperator.Equals) &&
.WithFilter("customerId", "12345", FilterOperator.Equals) ));