WebAPI custom attribute filter

Started by jds, December 05, 2022, 09:41:57 PM

Previous topic - Next topic

jds

Good day all, I have been trying to use the webapi to filter objects with a particular custom attribute name. Everything I have tried either comes back with all the objects or empty. Reading the documentation I assumed the url to call this is API_BASE/objects?@custom_attribute_name={insert attribute name}. I'm thinking I have a formatting problem but I'm not sure. I am using an Admin account to call the API so permissions shouldn't be an issue. Any help would be appreciated. Thank you

Tatjana Dubrovica

Hi,

If you have custom attribute with name: "Region" and you want filter all nodes where custom attribute value is "Latvia" your request URL should look like: API_BASE/objects?@Region=Latvia