justeat/ZendeskApiClient

Is there a way to search by chaining WithFilter?

Closed this issue · 1 comments

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

Closing this one.....

client.Search.SearchAsync<ZendeskApi.Client.Responses.TicketResponse>(
q => q
.WithFilter("status", status, FilterOperator.Equals) &&
.WithFilter("customerId", "12345", FilterOperator.Equals) ));