> ## 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 real estate objects of a general sales contracts > Get all non-removed real estate objects used in the requested general sales contract. Either reference or externalIdentifier must have a value. If both are given, both are used for retrieving the real estate objects of the general sales contract. ## OpenAPI ````json GET /api/v1/contracts/general/realestateobjects { "openapi": "3.0.4", "info": { "title": "Concept SalesContracts V1", "description": "Welcome to BETA version of the new Sales Concept Contracts 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": "CommercialRentContracts" }, { "name": "Concept CommercialRent" }, { "name": "Concept PrivateRent" }, { "name": "GeneralSalesContracts" }, { "name": "Metadata" }, { "name": "PrivateRentContracts" }, { "name": "SupplierContracts" } ], "paths": { "/api/v1/contracts/general/realestateobjects": { "get": { "tags": [ "GeneralSalesContracts" ], "summary": "Get real estate objects of a general sales contracts", "description": "Get all non-removed real estate objects used in the requested general sales contract. Either reference or externalIdentifier must have a value. If both are given, both are used for retrieving the real estate objects of the general sales contract.", "operationId": "GetGeneralSalesContractRealEstateObjects", "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/SalesContractRealEstateObject" } } } } } }, "x-d360-narrative-url": "

Get real estate objects of a general sales contracts

This endpoint retrieves all non-removed real estate objects linked to a specific general sales contract.

Integrators call this endpoint to see which objects a given \"other contract\" applies to, for example when a contract covers several properties.

The contract is identified by its internal reference, its external identifier, or both.


Request Fields

Field

Type

Required

Description

reference

string

Conditional

Internal identifier of the contract, generated by Bloxs. Either reference or externalIdentifier must be provided. If both are given, the contract must match both values.

externalIdentifier

string

Conditional

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


Response Fields

Field

Type

Required

Description

salesContractReference

string

No

Internal identifier of the contract, generated by Bloxs. Maximum length 100 characters.

salesContractExternalIdentifier

string

No

External identifier of the contract, as set by the integrating system. Maximum length 100 characters.

realEstateObjectReference

string

No

Reference of the real estate object subject to the contract. Must be a reference assigned by Bloxs. Maximum length 100 characters.

startDate

string (date-time)

Yes

Start date of the contract for this object.

endDate

string (date-time)

No

End date of the contract for this object. Can be left empty. Also used as the date the contract is automatically renewed, when applicable.

" } } }, "components": { "schemas": { "SalesContractRealEstateObject": { "type": "object", "properties": { "salesContractReference": { "maxLength": 100, "minLength": 0, "type": "string", "nullable": true }, "salesContractExternalIdentifier": { "maxLength": 100, "minLength": 0, "type": "string", "nullable": true }, "realEstateObjectReference": { "maxLength": 100, "minLength": 0, "type": "string", "nullable": true }, "startDate": { "type": "string", "format": "date-time" }, "endDate": { "type": "string", "format": "date-time", "nullable": true } }, "additionalProperties": false } } } } ````