Skip to main content

ContractFlatCompactDTO

Apartment attached to a contract, along with its house (houseId/houseName) and building (buildingId/buildingName) — contract responses only carry raw IDs elsewhere (flatIds), so this DTO fills in the project/building context.

idint32

Apartment ID

Example: 7781
numberstringnullable

Apartment number

Example: 45
roomsstringnullable

Room count

Example: 3
floorint32nullable

Floor

Example: 5
areadoublenullable

Area, m².

Example: 78.4
repairedbooleannullable

Whether the apartment is repaired

Example: true
buildingIdint32nullable

Building ID

Example: 34
buildingNamestringnullable

Building name

Example: A blok
houseIdint32nullable

House (project) ID

Example: 12
houseNamestringnullable

House (project) name

Example: Green Valley
ContractFlatCompactDTO
{
"id": 7781,
"number": "45",
"rooms": "3",
"floor": 5,
"area": 78.4,
"repaired": true,
"buildingId": 34,
"buildingName": "A blok",
"houseId": 12,
"houseName": "Green Valley"
}