FlatCompactDTO
Compact apartment reference with its building and house (project), used inside
LeadEventDTO as flat.
Same shape as ContractFlatCompactDTO, which is built
from a contract's apartment and takes repaired from the contract; here
repaired is the apartment's own flag.
idint32nullable
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 ValleyFlatCompactDTO
{
"id": 7781,
"number": "45",
"rooms": "3",
"floor": 5,
"area": 78.4,
"repaired": true,
"buildingId": 34,
"buildingName": "A blok",
"houseId": 12,
"houseName": "Green Valley"
}