# Get units for contract Retrieve all units associated with a specific unit contract Endpoint: GET /api/v3/unitContracts/{id}/units Version: 3.0.4 Security: OAuth2 ## Path parameters: - `id` (integer, required) ## Query parameters: - `pageable` (object, required) ## Response 200 fields (application/json): - `content` (array) - `content.id` (integer) Unique identifier of the unit - `content.unitAddress` (object, required) Data Transfer Object representing a unit's address - `content.unitAddress.id` (integer) Unique identifier of the address - `content.unitAddress.addressLine1` (string) First line of the address - `content.unitAddress.addressLine2` (string) Second line of the address - `content.unitAddress.addressLine3` (string) Third line of the address - `content.unitAddress.city` (string) City of the address - `content.unitAddress.postCode` (string) Postal code of the address - `content.unitAddress.country` (object) Data Transfer Object representing a Country entity in the Property Management System (PMS). - `content.unitAddress.country.id` (integer) Unique identifier of the country - `content.unitAddress.country.name` (string, required) Name of the country - `content.unitAddress.country.sortOrder` (integer, required) Sort order of the country - `content.unitAddress.country.countryCodeAlpha2` (string, required) Alpha-2 country code - `content.unitAddress.country.countryCodeAlpha3` (string, required) Alpha-3 country code - `content.unitAddress.country.countryCodeNumeric` (string, required) Numeric country code - `content.unitType` (object, required) Type summary of the unit - `content.unitType.id` (integer) Unique identifier of the unit type Example: 1 - `content.unitType.name` (string) Name of the unit type Example: "Studio Apartment" - `content.name` (string, required) Name of the unit - `content.shortDescription` (string, required) Short description of the unit - `content.bookable` (boolean, required) Indicates if the unit is bookable - `content.sellableFrom` (string, required) Date from which the unit is sellable - `content.sellableTo` (string, required) Date until which the unit is sellable - `content.addedOn` (string) Date when the unit was added - `content.removedOn` (string) Date when the unit was removed - `content.directions` (string) Directions to the unit - `content.costCentre` (string) Cost centre of the unit - `content.sortOrder` (integer, required) Sort order of the unit - `content.publish` (boolean, required) Indicates if the unit is published - `content.externalId` (integer) External identifier of the unit - `content.identifier` (string) Identifier of the unit - `content.floor` (integer) Floor number of the unit - `content.floorSpace` (integer) Floor space of the unit - `content.shortDescriptionLang2` (string) Short description of the unit in second language - `content.shortDescriptionLang3` (string) Short description of the unit in third language - `content.shortDescriptionLang4` (string) Short description of the unit in fourth language - `content.shortDescriptionLang5` (string) Short description of the unit in fifth language - `content.directionsLang2` (string) Directions to the unit in second language - `content.directionsLang3` (string) Directions to the unit in third language - `content.directionsLang4` (string) Directions to the unit in fourth language - `content.directionsLang5` (string) Directions to the unit in fifth language - `content.primaryLockIdentifier` (string) Primary lock identifier of the unit - `content.occupancyFrom` (string, required) Date from which the unit is occupied - `content.occupancyTo` (string, required) Date until which the unit is occupied - `content.pricePerExtraGuest` (number) Price per extra guest for the unit - `content.standardOccupancy` (integer) Standard occupancy of the unit - `content.cleanStatus` (string) Clean status of the unit Enum: "CLEAN", "DIRTY", "INSPECTED" - `content.lastCleaned` (string) Date and time when the unit was last cleaned - `content.inactive` (boolean) Indicates if the unit is inactive - `content.lastInspected` (string) Date and time when the unit was last inspected - `content.occupied` (boolean) Indicates if the unit is occupied - `content.thirdPartyUrl` (string) Third party URL of the unit - `content.unitCostCentre` (object, required) Data Transfer Object representing a cost centre - `content.unitCostCentre.id` (integer) Unique identifier of the cost centre - `content.unitCostCentre.code` (string) Code of the cost centre - `content.unitCostCentre.name` (string) Name of the cost centre - `content.unitCostCentre.exportName` (string) Export name of the cost centre - `content.organisationId` (integer, required) Organisation ID of the unit - `content.apartmentThumbnailUrl` (string) Thumbnail URL of the apartment - `page` (object) - `page.size` (integer) - `page.totalElements` (integer) - `page.totalPages` (integer) - `page.number` (integer)