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:
7781numberstringnullable
Apartment number
Example:
45roomsstringnullable
Room count
Example:
3floorint32nullable
Floor
Example:
5areadoublenullable
Area, m².
Example:
78.4repairedbooleannullable
Whether the apartment is repaired
Example:
truebuildingIdint32nullable
Building ID
Example:
34buildingNamestringnullable
Building name
Example:
A blokhouseIdint32nullable
House (project) ID
Example:
12houseNamestringnullable
House (project) name
Example:
Green ValleyContractFlatCompactDTO
{
"id": 7781,
"number": "45",
"rooms": "3",
"floor": 5,
"area": 78.4,
"repaired": true,
"buildingId": 34,
"buildingName": "A blok",
"houseId": 12,
"houseName": "Green Valley"
}