BookingDTO
A single booking returned by GET /v1/open-api/booking/{id} — every field of
BookingTableDTO plus flatDetails.
Booking ID
512Booking UUID
8f3c2b16-9e51-4d0a-9f26-2f0b1c7a51deBooking number
B-2024-118Booking status.
ACTIVE— active, the term has not expiredCONTRACT— the booking turned into a contractCANCELED— cancelled
Possible values: [ACTIVE, CONTRACT, CANCELED]
ACTIVEWhere the booking came from.
COMPANY— placed by the company itself (from inside the CRM)MARKETPLACE— placed through the uysot.uz marketplaceOTHER— anything else
Possible values: [COMPANY, MARKETPLACE, OTHER]
COMPANYBooking date, epoch seconds
1730419200Booking term, in days
7Days remaining of the term
3Prepayment amount, in currency
15000000Whether the prepayment is refundable
trueAgreed price (discount applied), in currency
890000000currency object
Currency information object.
Currency ID
1Exchange rate (1 for the basic currency)
1Last update time (epoch seconds)
1672531200Whether it's the company's basic currency
trueCurrency code
USDFree-text note
Mijoz juma kuni keladiemployee object
Compact employee reference.
Employee ID
201Employee full name
David WilsoncancelEmployee object
Compact employee reference.
Employee ID
201Employee full name
David Wilsonclient object
Company client information object.
Client ID
1001Client name (individual or legal entity)
John DoeClient INN (individual's PINFL)
123456789Client status enum.
Possible values: [NEW, ACTIVE, PASSIVE, ARCHIVE]
ACTIVEflat object
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.
Apartment ID
7781Apartment number
45Room count
3Floor
5Area, m².
78.4Whether the apartment is repaired
trueBuilding ID
34Building name
A blokHouse (project) ID
12House (project) name
Green Valleyhouse object
Most compact house (project) reference — identity only.
House ID
12House name
Green ValleyBranch the booking was created in
1Branch name
ChilonzorContract the booking turned into (set when status is CONTRACT)
1409Contract number
C-1409Cancellation time, epoch seconds
1733011200Cancellation note
Mijoz voz kechdicancelReasons object[]nullable
Cancellation reasons attached to the booking.
Reason ID
3Name in Uzbek (Latin)
Mijoz voz kechdiName in Russian
Клиент отказалсяName in English
Client withdrewName in Uzbek (Cyrillic)
Мижоз воз кечдиName in Tajik
Муштарӣ даст кашидName in Kyrgyz
Кардар баш тарттыRealtor company that placed the booking (in the MARKETPLACE flow)
77Realtor company name
Uysot RealtyflatDetails objectnullable
The full apartment object — building, house, prices, address and custom
field values, identical in shape to GET /v1/open-api/flat/{id}. Never
present in the list response.
Apartment ID
1024Apartment number
45Room count, stored as text
3Total area, m²
78.4Commercial status of an apartment.
SALE— on saleBOOKED— bookedSOLD— soldRESERVE— reservedDELIVERED— keys handed overREGISTERED— registered to the client
Possible values: [SALE, BOOKED, SOLD, RESERVE, DELIVERED, REGISTERED]
SALEWhether the apartment is repaired
trueWhether the unit is an apartment
trueTotal price, in currency
780000000Price per m²
9948000Price per m² with repair
10969000Total price with repair
860000000Total price without repair
780000000Floor
7building object
A building (block) of a house.
Building ID
34Building name
A blokWhether the building is on sale
trueConstruction start date (dd.MM.yyyy)
05.01.2025Construction finish date (dd.MM.yyyy)
01.12.2027Deletion time (epoch seconds, null if active)
nullhouse object
House (project) as embedded in FlatDTO — without the buildings list.
House ID
12House name
Green ValleyStreet address of the house
Chilonzor 9-kvartalDeletion time (epoch seconds, null if active)
nullWhether the house is on sale
trueConstruction start date (dd.MM.yyyy)
05.01.2025Planned hand-over date (dd.MM.yyyy)
01.12.2027terrace objectnullable
The apartment's terrace, null when it has none.
Terrace ID
501Terrace area, m²
6.2Terrace price per m²
4000000Terrace price per m² with repair
4500000currency objectnullable
Currency of the prices — the house's currency, null when the house has none.
Currency ID
1Exchange rate (1 for the basic currency)
1Last update time (epoch seconds)
1672531200Whether it's the company's basic currency
trueCurrency code
USDApartment class.
Possible values: [ECONOMICAL, COMFORT, BUSINESS, PREMIUM]
COMFORTType of a non-residential unit.
BASEMENT— basementSHOP— shopPARKING— parking placeAPARTMENT— apartment
Possible values: [BASEMENT, SHOP, PARKING, APARTMENT]
SHOPaddress objectnullable
The house's address, null when the house has no district set.
Postal index
100096Country zone / phone zone
UZUzbekistanУзбекистанO'zbekistonЎзбекистонÖzbekistanӮзбекистонӨзбекстанTashkentТашкентToshkentТошкентTaşkentТошкандТашкентChilanzarЧиланзарChilonzorЧилонзорÇilanzarЧилонзорЧиланзарStreet address of the house
Chilonzor 9-kvartalfields object[]nullable
Apartment custom field values. null when the caller didn't request them.
Field ID — matches FlatFieldDTO.id
12The resolved value as text (option name, date, URL, …)
OchiqField name
Balkon turiCustom field type, shared by every custom-field family (contract, flat, payment and
lead task). Serialized by name. Identical value set to ContractFieldType, which
remains as the contract-family alias.
Possible values: [TEXT, EXTENDED_TEXT, DATE, SELECT, MULTI_SELECT, RADIO, TOGGLE_SWITCH, URL, TAG, LOCATION, COUNTER, ADDRESS, EMPLOYEE, FILE, NUMBER]
SELECTWhether the field is mandatory
falseDisplay position
1Numeric value — NUMBER fields only
1500000Currency of number — NUMBER fields only
24Ordered values of a multi-value field (MULTI_SELECT, EMPLOYEE, FILE). Empty for single-value types.
[]Latitude — LOCATION fields only
nullLongitude — LOCATION fields only
nullfiles object[]
Attached files — FILE fields only. Empty for every other type.
Presigned URL to the full-size file
https://minio.uysot.uz/uysot/files/201/avatar.png?X-Amz-Expires=3600Presigned URL to the thumbnail rendition
https://minio.uysot.uz/uysot/files/201/avatar_thumb.png?X-Amz-Expires=3600Presigned URL to the smallest rendition
https://minio.uysot.uz/uysot/files/201/avatar_small.png?X-Amz-Expires=3600{
"id": 512,
"uuid": "8f3c2b16-9e51-4d0a-9f26-2f0b1c7a51de",
"number": "B-2024-118",
"status": "ACTIVE",
"source": "COMPANY",
"timestamp": 1730419200,
"delay": 7,
"remained": 3,
"prePayment": 15000000,
"refundablePayment": true,
"dealPrice": 890000000,
"currency": {
"id": 1,
"value": 1,
"updateTimestamp": 1672531200,
"basic": true,
"ccy": "USD"
},
"note": "Mijoz juma kuni keladi",
"employee": {
"id": 201,
"fullName": "David Wilson"
},
"cancelEmployee": {
"id": 201,
"fullName": "David Wilson"
},
"client": {
"id": 1001,
"name": "John Doe",
"inn": "123456789",
"status": "ACTIVE"
},
"flat": {
"id": 7781,
"number": "45",
"rooms": "3",
"floor": 5,
"area": 78.4,
"repaired": true,
"buildingId": 34,
"buildingName": "A blok",
"houseId": 12,
"houseName": "Green Valley"
},
"house": {
"id": 12,
"name": "Green Valley"
},
"branchId": 1,
"branchName": "Chilonzor",
"contractId": 1409,
"contractNumber": "C-1409",
"cancelTimestamp": 1733011200,
"cancelNote": "Mijoz voz kechdi",
"cancelReasons": [
{
"id": 3,
"nameUz": "Mijoz voz kechdi",
"nameRu": "Клиент отказался",
"nameEn": "Client withdrew",
"nameKr": "Мижоз воз кечди",
"nameTj": "Муштарӣ даст кашид",
"nameKy": "Кардар баш тартты"
}
],
"realtorId": 77,
"realtorName": "Uysot Realty",
"flatDetails": {
"id": 1024,
"number": "45",
"rooms": "3",
"area": 78.4,
"status": "SALE",
"repaired": true,
"apartment": true,
"price": 780000000,
"pricePerArea": 9948000,
"pricePerAreaRepaired": 10969000,
"priceRepaired": 860000000,
"priceNotRepaired": 780000000,
"floor": 7,
"building": {
"id": 34,
"name": "A blok",
"isSale": true,
"startDate": "05.01.2025",
"finishDate": "01.12.2027",
"deletedTimestamp": null
},
"house": {
"id": 12,
"name": "Green Valley",
"address": "Chilonzor 9-kvartal",
"deletedTimestamp": null,
"isSale": true,
"buildingStarts": "05.01.2025",
"release": "01.12.2027"
},
"terrace": {
"id": 501,
"area": 6.2,
"pricePerArea": 4000000,
"pricePerAreaRepaired": 4500000
},
"currency": {
"id": 1,
"value": 1,
"updateTimestamp": 1672531200,
"basic": true,
"ccy": "USD"
},
"category": "COMFORT",
"nonResidentialType": "SHOP",
"address": {
"index": 100096,
"zone": "UZ",
"country_en": "Uzbekistan",
"country_ru": "Узбекистан",
"country_uz": "O'zbekiston",
"country_kr": "Ўзбекистон",
"country_tr": "Özbekistan",
"country_tj": "Ӯзбекистон",
"country_ky": "Өзбекстан",
"region_en": "Tashkent",
"region_ru": "Ташкент",
"region_uz": "Toshkent",
"region_kr": "Тошкент",
"region_tr": "Taşkent",
"region_tj": "Тошканд",
"region_ky": "Ташкент",
"city_en": "Chilanzar",
"city_ru": "Чиланзар",
"city_uz": "Chilonzor",
"city_kr": "Чилонзор",
"city_tr": "Çilanzar",
"city_tj": "Чилонзор",
"city_ky": "Чиланзар",
"street": "Chilonzor 9-kvartal"
},
"fields": [
{
"fieldId": 12,
"value": "Ochiq",
"name": "Balkon turi",
"type": "SELECT",
"required": false,
"sortOrder": 1,
"number": 1500000,
"currencyId": 24,
"values": [],
"latitude": null,
"longitude": null,
"files": [
{
"absolutePath": "https://minio.uysot.uz/uysot/files/201/avatar.png?X-Amz-Expires=3600",
"thumbAbsolutePath": "https://minio.uysot.uz/uysot/files/201/avatar_thumb.png?X-Amz-Expires=3600",
"smallestAbsolutePath": "https://minio.uysot.uz/uysot/files/201/avatar_small.png?X-Amz-Expires=3600"
}
]
}
]
}
}