Hello people, I’m relatively new to API testing and having a small problem with getting my Filter correct on the endpoint.
I want to get responses based on some values and my Filter is not working.
I have searched on the forums but couldn’t get my answer.
Details:
I want responses from a field value that contains 2, 3 or 6.
So i use a Filter in my endpoint. But I think i’m writing it in the wrong way?
The response is empty. If i clear the Filter with “pamt_type” then i’m getting multiple responses including a row with pamt_type = 6.
I’ve already tried:
- {{restUrl}}/Documents/pamt/?Filter=part_num = {{partnum}} and pamt_type = 2 or 3 or 6
→ No responses - {{restUrl}}/Documents/pamt/?Filter=part_num = {{partnum}} and pamt_type = 2, 3, 6
→ No responses - {{restUrl}}/Documents/pamt/?Filter=part_num = {{partnum}} and pamt_type = 6
→ Works