Windchill REST Services Framework Capabilities > Support for OData > OData Query Parameters > Using the isof Type Checking Function in $filter Expressions
Using the isof Type Checking Function in $filter Expressions
The following is an example of the use of the isof function in a filter expression. In the example the isof type checking function is used with the $filter expression on containers in the DataAdmin domain. The URI returns only the Library or Product Containers.
GET /Windchill/servlet/odata/DataAdmin/Containers?$filter=isof(PTC.DataAdmin.ProductContainer) or isof(PTC.DataAdmin.LibraryContainer)