I was looking through the Object Definition Documentation here: Object definitions
I noticed that, on many fields you can filter by, the type is set as: string from values list. (i.e. animalGeneralSizePotential field would probably have values like "small", 'medium' ... to go into a dropdown for user filtering.) Therefore the values list for that field would equal ['small', 'medium', 'large'.,.. ]
I was looking through the documentation trying to find where these 'value lists' were defined for each field, but i could not find it. Is it currently listed somewhere? If not, would there be an easy way to return all possible values for a single filter using postman or a different tool?
Thanks in advance!
If you make a call to define, it will include all values of the enums.
There is an example of using the define action in the documentation: Overview of common HTTP API object actions
Powered by a free Atlassian Confluence Community License granted to RescueGroups.org. Evaluate Confluence today.