Skip to main content

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: 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
FlatCompactDTO
{
"id": 7781,
"number": "45",
"rooms": "3",
"floor": 5,
"area": 78.4,
"repaired": true,
"buildingId": 34,
"buildingName": "A blok",
"houseId": 12,
"houseName": "Green Valley"
}