1
0
-1

I'm trying to display a listing of our available small animals via the API. Previously, this was easily accomplished with the following:

 

array(
                "fieldName" => "animalSpecies",
                "operation" => "notequal",
                "criteria" => array("Dog","Cat"),
            )

However, this has stopped working for some reason and simply displays all of our available animals. So I changed the code to:

array(
                "fieldName" => "animalSpecies",
                "operation" => "equals",
                "criteria" => array([every species we taken in besides dog & cat]),
            )

This worked for most of our small animals, however, it would not display the guinea pig. I tried to just do guinea pig on it's own with both upper and lower case, I tried using "contains" as the operation with "Guinea" and "Pig" as the criteria. All of those resulted in no results. Any ideas?

 

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      I don't believe there is/was anything wrong with your API search.  I noticed an issue with your one Guinea Pig and I was able to resolve that issue so she should be showing in your Toolkit now. If possible, could you please open a support ticket so I can get some additional information from you to hopefully figure out why she didn't show up correctly in the first place?

        CommentAdd your comment...