Filter by ID

17 views
Skip to first unread message

Mário Amaral

unread,
Oct 12, 2021, 4:49:18 AM10/12/21
to CATS API v3
When making a POST to  https://api.catsone.com/v3/activities/search?per_page=100  with the filters bellow we're getting the following error:

FILTERS:
{
    "or": [
        {
            "filter": "exactly",
            "field": "id",
            "value": 6568255
        },
        {
            "filter": "exactly",
            "field": "id",
            "value": 227409731
        }
    ]
}

ERROR:
{
    "message": "Validation failed.",
    "errors": [
        {
            "property": "filters",
            "field": "id",
            "filter": "exactly",
            "message": "That filter cannot be used on this field"
        }
    ]
}
Reply all
Reply to author
Forward
0 new messages