> ## 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 list of theoretical rents for units > Get a list of theoretical rents for units ## OpenAPI ````json GET /api/v1/realestateobjects/units/theoreticalrents { "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/theoreticalrents": { "get": { "tags": [ "Units" ], "summary": "Get a list of theoretical rents for units", "description": "Get a list of theoretical rents for units", "operationId": "GetUnitTheoreticalRents", "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": { "type": "array", "items": { "$ref": "#/components/schemas/TheoreticalRentAPIModel" } } } } } }, "x-d360-narrative-url": "

Get a list of theoretical rents for units

This endpoint retrieves the theoretical rent entries currently recorded in Bloxs for a unit.

Theoretical rent represents the rent Bloxs assumes for the unit under either a residential or a commercial lease, independent of any actual rental contract. A unit has entries for only one of these two contract types, not both.

Integrators call this endpoint to review the recorded theoretical rents for a unit, for example to determine which one is appropriate for a new contract or to identify entries that need to be added or corrected.


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

contractType

integer

No

Type of contract the theoretical rent applies to. 33 is a residential lease contract, 65 is a commercial lease contract. A unit has entries for only one of these two types.

contractItemName

string

No

Name of the theoretical rent entry.

description

string

No

Free text description of the theoretical rent entry.

amountExcl

number (double)

No

Theoretical rent amount, excluding VAT (net amount). Decimals are separated with a period.

" } } }, "components": { "schemas": { "TheoreticalRentAPIModel": { "required": [ "amountExcl", "contractItemName", "contractType", "description", "endDate", "startDate" ], "type": "object", "properties": { "contractType": { "type": "integer", "description": "PrivateRent = 33\nCommercialRent = 65", "format": "int32", "x-enumNames": [ "PrivateRent", "CommercialRent" ] }, "contractItemName": { "type": "string", "nullable": true }, "description": { "type": "string", "nullable": true }, "amountExcl": { "type": "number", "format": "double" }, "startDate": { "type": "string", "format": "date" }, "endDate": { "type": "string", "format": "date", "nullable": true } }, "additionalProperties": false } } } } ````