# Count twins Endpoint: POST /twins/count Version: v3 Security: oauth2 ## Request fields (application/json): - `modelFilter` (object) Model Filter Class for Get Twins Request. - `modelFilter.modelIds` (array) Array of twin model Id twins to retrieve. - `modelFilter.exactModelMatch` (boolean) True to only include twins that are instances of the exact model id specified, False(default) to include twins that are instances of the model id or any of its subclasses. - `relationshipFilter` (object) Get Twins Request Relationship Filter - `relationshipFilter.relationshipDirection` (string) Twin Relationship Direction. Enum: "Incoming", "Outgoing", "IncomingOrOutgoing" - `relationshipFilter.relationshipNames` (array,null) Array of related relationship names. Enum: "isPartOf", "isDocumentOf", "hasDocument", "isCapabilityOf", "locatedIn", "hostedBy", "includedIn", "servedBy", "leasee", "hasLease", "locatedInGridRegion", "isParameterOf", "isFedBy", "subMeterOf", "serves", "ownedBy", "manufacturedBy", "serviceResponsibility", "installedBy", "servicedBy" - `relationshipFilter.relatedModelFilter` (object) Model Filter Class for Get Twins Request. - `locationFilter` (object) Location Filter Class for Get Twins Request. - `locationFilter.locationId` (string,null) Location Id to filter the twins. - `dateFilter` (object) Date Filter Class for Get Twins Request. - `dateFilter.lastUpdatedAfter` (string,null) Filters twins with LastUpdatedTime greater than the given date time. - `dateFilter.lastUpdatedBefore` (string,null) Filters twins with LastUpdatedTime less than the given date time. - `propertyFilter` (object) Represents a group of filter specifications. Contains a list of individual filter specifications. - `propertyFilter.field` (string,null) Gets or set the field Name. - `propertyFilter.operator` (string,null) Gets or sets the operator. Forwards the value to the base class. - `propertyFilter.value` (object) Gets or sets the value. - `propertyFilter.filterConditionOperator` (any) Enum: "And", "Or" - `propertyFilter.filters` (array) A list of filter group specifications represented by FilterSpecificationDto objects. ## Response 400 fields (application/json): - `type` (string,null) - `title` (string,null) - `status` (integer,null) - `detail` (string,null) - `instance` (string,null)