Filtering on Reference Types


#1

Hey! Is there any way to filter on a property of a reference type through the API? Either OData or GraphQL?

For example Schema A has property ‘otherId’ and Schema B has a reference field pointing to Schema A. Could I filter Schema A by SchemaB.otherId?


#2

Not with a single call. Of course you can make 2 requests.


#3

Not sure if this will help, we managed to filter using below approach: (GraphQL) on v3.3.
querySchemaAContents(filter: “data/SchemaB-RefField/iv eq ‘schemaB-Id’”) { … }