ThingFilter
Input
Contains the input values needed to filter thing queries.
input ThingFilter {
and: [ThingFilter]
connectedDataSourceId: StringFilterExpressionInput
dateCreated: TimestampFilterExpressionInput
dateUpdated: TimestampFilterExpressionInput
exactType: StringFilterExpressionInput
id: IDFilterExpressionInput
isVirtual: SimpleBoolFilterExpressionInput
mappingKey: StringFilterExpressionInput
name: StringFilterExpressionInput
not: ThingFilter
or: [ThingFilter]
parentIds: StringArrayFilterExpressionInput
type: StringArrayFilterExpressionInput
}
Input fields
| Field | Type | Default | Description |
|---|---|---|---|
and | [ThingFilter] | Used to combine multiple filter criteria. | |
connectedDataSourceId | StringFilterExpressionInput | ||
dateCreated | TimestampFilterExpressionInput | ||
dateUpdated | TimestampFilterExpressionInput | ||
exactType | StringFilterExpressionInput | ||
id | IDFilterExpressionInput | Used to filter for a specific ID or IDs (refer to IDFilterExpressionInput for input options). | |
isVirtual | SimpleBoolFilterExpressionInput | ||
mappingKey | StringFilterExpressionInput | ||
name | StringFilterExpressionInput | ||
not | ThingFilter | Used to omit a specific result or results from the response. | |
or | [ThingFilter] | Used to return results that match at least one of the defined criteria. | |
parentIds | StringArrayFilterExpressionInput | Used to filter for what sits under a container: matches the entities whose parentIds hold the given ID or IDs, the same set the container's nested fields (points, spaces, things, ...) return. For example parentIds {eq: <building id>} matches everything in that building. | |
type | StringArrayFilterExpressionInput | Used to filter on a specific class or subclass of a thing, like HVAC and AHU. |
Used by
Building.isFedBy(filter)(argument)Building.isServedBy(filter)(argument)Building.things(filter)(argument)Collection.isControlledBy(filter)(argument)Connector.things(filter)(argument)Floor.isFedBy(filter)(argument)Floor.isServedBy(filter)(argument)Floor.things(filter)(argument)GenericPlace.isFedBy(filter)(argument)GenericPlace.isServedBy(filter)(argument)GenericPlace.things(filter)(argument)Heartbeat.isHostedBy(filter)(argument)KinematicJoint.hasJointChild(filter)(argument)KinematicJoint.hasJointParent(filter)(argument)KinematicJoint.isJointOf(filter)(argument)Org.things(filter)(argument)Organization.isServedBy(filter)(argument)PeopleGroup.isResponsibleFor(filter)(argument)PeopleGroup.isServedBy(filter)(argument)Place.isFedBy(filter)(argument)Place.isServedBy(filter)(argument)Place.things(filter)(argument)Point.isHostedBy(filter)(argument)PrismaticJoint.hasJointChild(filter)(argument)PrismaticJoint.hasJointParent(filter)(argument)PrismaticJoint.isJointOf(filter)(argument)RevoluteJoint.hasJointChild(filter)(argument)RevoluteJoint.hasJointParent(filter)(argument)RevoluteJoint.isJointOf(filter)(argument)Site.isFedBy(filter)(argument)Site.isServedBy(filter)(argument)Site.things(filter)(argument)Space.isFedBy(filter)(argument)Space.isServedBy(filter)(argument)Space.things(filter)(argument)SubBuilding.isFedBy(filter)(argument)SubBuilding.isServedBy(filter)(argument)SubBuilding.things(filter)(argument)Thing.hasPart(filter)(argument)Thing.isControlledBy(filter)(argument)Thing.isPartOf(filter)(argument)ThingContainer.things(filter)(argument)ThingFilter.and(input field)ThingFilter.not(input field)ThingFilter.or(input field)things(filter)(argument)Zone.isFedBy(filter)(argument)Zone.isServedBy(filter)(argument)Zone.things(filter)(argument)