# Search unit contracts Search for unit contracts with optional filtering by unit ID and building ID Endpoint: GET /api/v3/unitContracts Version: 3.0.4 Security: OAuth2 ## Query parameters: - `unitId` (integer) - `buildingId` (integer) - `pageable` (object, required) ## Response 200 fields (application/json): - `content` (array) - `content.id` (integer) - `content.contractType` (string) Enum: "LEASE", "OPERATING" - `content.unitOwner` (object) Company summary associated with the finance account - `content.unitOwner.id` (integer) Unique identifier of the company - `content.unitOwner.companyName` (string) Name of the company - `content.contractEndDate` (string) - `content.bookableFrom` (string) - `content.bookableTo` (string) - `content.notes` (string) - `content.commissionRate` (number) - `content.commissionFee` (number) - `content.commissionFrequency` (string) Enum: "DAILY", "WEEKLY", "MONTHLY", "QUARTERLY", "YEARLY", "PER_BOOKING" - `content.name` (string) - `content.minPriceType` (string) Enum: "DAILY", "WEEKLY", "MONTHLY" - `content.minPrice` (number) - `content.serviceFeeRate` (number) - `content.valid` (boolean) - `page` (object) - `page.size` (integer) - `page.totalElements` (integer) - `page.totalPages` (integer) - `page.number` (integer)