> ## Documentation Index > Fetch the complete documentation index at: https://www.bloxs.io/llms.txt > Use this file to discover all available pages before exploring further. # Get a unit > Get an existing unit. Either reference or externalIdentifier must have a value. If both are given, both are used for retrieving the unit. ## OpenAPI ````json GET /api/v1/realestateobjects/units { "openapi": "3.0.4", "info": { "title": "RealEstateObjects V1", "description": "Welcome to BETA version of the new RealEstateObjects API - intended for client public testing before the launch of the final version. During this BETA phase, we'll be improving the API based on specific client's feedbacks.", "version": "v1" }, "security": [ {} ], "tags": [ { "name": "Admin" }, { "name": "Buildings" }, { "name": "Complexes" }, { "name": "Generic" }, { "name": "Metadata" }, { "name": "PublishObjects" }, { "name": "ScoringPointTotals" }, { "name": "Sections" }, { "name": "Units" } ], "paths": { "/api/v1/realestateobjects/units": { "get": { "tags": [ "Units" ], "summary": "Get a unit", "description": "Get an existing unit. Either reference or externalIdentifier must have a value. If both are given, both are used for retrieving the unit.", "operationId": "GetUnit", "parameters": [ { "name": "reference", "in": "query", "description": "The internal identifier of the model (i.e. Reference, Code, Name, depends on model).", "schema": { "type": "string" } }, { "name": "externalIdentifier", "in": "query", "description": "The external API identifier of the model.", "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UnitAPIDetailModel" } } } }, "404": { "description": "The requested unit was not found." } }, "x-d360-narrative-url": "

Get a unit

This endpoint retrieves the full detail record of an existing unit.

A unit is an individual rentable part of a larger property, such as a room in a student house or an apartment within a townhouse, and can be included in a lease contract.

Integrators call this endpoint to look up a unit before displaying, syncing, or updating its data in an external system.

The unit can be identified by its internal reference, its external identifier, or both.


Request Fields

Field

Type

Required

Description

reference

string

Conditional

Internal identifier of the unit. Either reference or externalIdentifier must be provided. If both are given, the unit must match both values.

externalIdentifier

string

Conditional

External identifier of the unit, as set by the integrating system. Either reference or externalIdentifier must be provided. If both are given, the unit must match both values.


Response Fields

Field

Type

Required

Description

reference

string

No

Internal identifier of the unit.

externalIdentifier

string

No

External identifier of the unit, as set by the integrating system.

name

string

No

Name of the unit. For room rentals, typically the address combined with a room number. Can appear on invoices and bills.

displayName

string

No

Display name of the unit, as shown in Bloxs.

ownerReference

string

No

Reference of the owner the unit belongs to.

categoryName

string

No

Category assigned to the unit. Category values are configurable in the Bloxs admin module and determine the divisibility rules of the unit.

extraRelations

array of object

No

Additional relations linked to the unit. Empty or omitted when no extra relations are set.

extraRelations.extraRelationTypeName

string

No

Relation type assigned to this object for the linked party, for example cleaner or maintenance. Configurable in the Bloxs admin module.

extraRelations.relationReference

string

No

Reference of the linked relation. Must correspond to an existing relation registered in Bloxs.

remarks

string

No

Free text remarks stored on the unit.

underManagementSince

string (date-time)

No

Date the unit came under management. ISO 8601 format, for example 2026-01-01T00:00:00.

salesDate

string (date-time)

No

Date the unit was sold, if applicable. ISO 8601 format.

lastModified

string (date-time)

Yes

Date and time the unit was last modified. ISO 8601 format, UTC.

complexReference

string

No

Reference of the complex the unit belongs to. A unit belongs to exactly one complex.

sectionReference

string

No

Reference of the section the unit belongs to, if applicable. A unit can belong to at most one section within its complex.

address.street

string

Yes

Street name of the unit's address. Maximum length 200 characters.

address.houseNumber

string

No

House number of the unit's address, including any suffix. Can also be used to enter a room number. Maximum length 40 characters.

address.postalCode

string

Yes

Postal code of the unit's address. Maximum length 20 characters.

address.city

string

Yes

City of the unit's address. Maximum length 200 characters.

address.countryISOCode

string

Yes

ISO 3166-1 alpha-2 country code of the unit's address, for example \"NL\". Maximum length 2 characters.

rawFloorArea

number (double)

No

Raw floor area of the unit, in square meters, measured according to the NEN2580 standard. Decimals are separated with a period.

rentableFloorArea

number (double)

No

Rentable floor area of the unit, in square meters, measured according to the NEN2580 standard. Decimals are separated with a period.

usableFloorArea

number (double)

No

Usable floor area of the unit, in square meters.

energyIndex

number (double)

No

Energy index of the unit.

isDivisible

boolean

Yes

Indicates whether the unit can be divided further. Derived from the assigned category.

divisibleInfo.divisibleType

integer

Yes

Divisibility type of the unit. Valid values are 1 (SingleUnit), 2 (DivisibleByUnits), or 3 (DivisibleByFloorArea).

divisibleInfo.divisibleFloorAreaType

integer

No

Floor area type used when divisibleType is DivisibleByFloorArea. Valid values are 0 (NA), 1 (RawFloorArea), 2 (RentableFloorArea), or 3 (UsableFloorArea).

divisibleInfo.divisibleValue

number (double)

No

Threshold value used together with divisibleFloorAreaType to determine divisibility.

" } } }, "components": { "schemas": { "UnitAPIDetailModel": { "type": "object", "properties": { "reference": { "type": "string", "nullable": true }, "externalIdentifier": { "type": "string", "nullable": true }, "name": { "type": "string", "nullable": true }, "displayName": { "type": "string", "nullable": true }, "ownerReference": { "type": "string", "nullable": true }, "categoryName": { "type": "string", "nullable": true }, "extraRelations": { "type": "array", "items": { "$ref": "#/components/schemas/RealEstateExtraRelationAPIModel" }, "nullable": true }, "remarks": { "type": "string", "nullable": true }, "underManagementSince": { "type": "string", "format": "date-time", "nullable": true }, "salesDate": { "type": "string", "format": "date-time", "nullable": true }, "lastModified": { "type": "string", "format": "date-time" }, "address": { "$ref": "#/components/schemas/Address" }, "complexReference": { "type": "string", "nullable": true }, "sectionReference": { "type": "string", "nullable": true }, "rawFloorArea": { "type": "number", "format": "double", "nullable": true }, "rentableFloorArea": { "type": "number", "format": "double", "nullable": true }, "usableFloorArea": { "type": "number", "format": "double", "nullable": true }, "energyIndex": { "type": "number", "format": "double", "nullable": true }, "isDivisible": { "type": "boolean" }, "divisibleInfo": { "$ref": "#/components/schemas/DivisibleInfo" } }, "additionalProperties": false }, "RealEstateExtraRelationAPIModel": { "type": "object", "properties": { "extraRelationTypeName": { "type": "string", "nullable": true }, "relationReference": { "type": "string", "nullable": true } }, "additionalProperties": false }, "Address": { "required": [ "city", "countryISOCode", "postalCode", "street" ], "type": "object", "properties": { "street": { "maxLength": 200, "minLength": 0, "type": "string" }, "houseNumber": { "maxLength": 40, "minLength": 0, "type": "string", "nullable": true }, "postalCode": { "maxLength": 20, "minLength": 0, "type": "string" }, "city": { "maxLength": 200, "minLength": 0, "type": "string" }, "countryISOCode": { "maxLength": 2, "minLength": 0, "type": "string" } }, "additionalProperties": false }, "DivisibleInfo": { "required": [ "divisibleType" ], "type": "object", "properties": { "divisibleType": { "type": "integer", "description": "SingleUnit = 1\nDivisibleByUnits = 2\nDivisibleByFloorArea = 3", "format": "int32", "x-enumNames": [ "SingleUnit", "DivisibleByUnits", "DivisibleByFloorArea" ] }, "divisibleFloorAreaType": { "type": "integer", "description": "NA = 0\nRawFloorArea = 1\nRentableFloorArea = 2\nUsableFloorArea = 3", "format": "int32", "nullable": true, "x-enumNames": [ "NA", "RawFloorArea", "RentableFloorArea", "UsableFloorArea" ] }, "divisibleValue": { "maximum": 2147483647, "minimum": 0, "type": "number", "format": "double", "nullable": true } }, "additionalProperties": false } } } } ````