# Retrieve unit location by ID Fetches a specific unit location by its unique identifier. This endpoint provides detailed information about a particular unit location, including its type, associated unit, and other relevant metadata. If the specified unit location ID does not exist, a not found error will be returned. Endpoint: GET /api/v3/unitLocations/{id} Version: 3.0.4 Security: OAuth2 ## Path parameters: - `id` (integer, required) ID of the unit location to retrieve ## Response 200 fields (application/json): - `id` (integer) Unique identifier for the unit internal location Example: 1 - `unit` (object) Summary of the Unit associated with the Unit Access Group - `unit.id` (integer) Unique identifier of the unit Example: 1 - `unit.name` (string) Name of the unit Example: "Apartment 101" - `internalLocation` (object) Data Transfer Object (DTO) for representing an InternalLocation entity. This class provides a simplified representation of InternalLocation for use in data exchange operations, such as API communication, while masking unnecessary internal details. - `internalLocation.id` (integer) Unique identifier for the internal location Example: 1 - `internalLocation.name` (string) Name of the internal location Example: "Master Bedroom" - `internalLocation.type` (string) Type of the internal location. Can be one of: BEDROOM, BATHROOM, LIVING_ROOM, KITCHEN, DINING_ROOM, HALL, GENERAL, WC, BEDROOM_OR_LIVING_ROOM_WITH_KITCHEN_CORNER, KITCHEN_IN_THE_LIVING_OR_DINING_ROOM Enum: "BEDROOM", "BATHROOM", "LIVING_ROOM", "KITCHEN", "DINING_ROOM", "HALL", "GENERAL", "WC", "BEDROOM_OR_LIVING_ROOM_WITH_KITCHEN_CORNER", "KITCHEN_IN_THE_LIVING_OR_DINING_ROOM" - `internalLocation.systemType` (boolean) Flag indicating whether this is a system-defined location type - `internalLocation.primaryLocation` (boolean) Flag indicating whether this is designated as the primary location Example: true - `internalLocation.category` (string) Category of the internal location. Can be either INTERNAL or EXTERNAL Enum: "INTERNAL", "EXTERNAL" - `imagesAttachments` (array) List of image attachments associated with this internal location - `imagesAttachments.relationType` (string) Type of relation for the image attachment Example: "INTERIOR" - `imagesAttachments.isPrimary` (boolean) Indicates if this image is the primary one Example: true - `imagesAttachments.sortOrder` (integer) Sort order for displaying images Example: 1 - `imagesAttachments.internalName` (string) Internal name for the image Example: "kitchen_view" - `imagesAttachments.viewUrl` (string) URL to view the image Example: "https://example.com/image.jpg" - `featureFacilities` (array) List of features and facilities available in this internal location - `featureFacilities.id` (integer) Unique identifier for the feature/facility Example: 1 - `featureFacilities.category` (string) Category of the feature/facility Example: "Amenity" - `featureFacilities.iconClass` (string) CSS class name for the feature/facility icon Example: "icon-wifi" - `featureFacilities.name` (string) Name of the feature/facility in primary language Example: "Wi-Fi" - `featureFacilities.nameLang2` (string) Name of the feature/facility in secondary language Example: "Wi-Fi" - `featureFacilities.nameLang3` (string) Name of the feature/facility in tertiary language Example: "WLAN" - `featureFacilities.nameLang4` (string) Name of the feature/facility in quaternary language Example: "Wi-Fi" - `featureFacilities.nameLang5` (string) Name of the feature/facility in quinary language Example: "Wi-Fi" - `sortOrder` (integer) Sort order for displaying this internal location in lists Example: 1 - `primaryImageUrl` (string) URL of the primary image for this internal location Example: "https://example.com/images/location1.jpg"