Skip to main content

BookingTableDTO

A row of the booking list returned by POST /v1/open-api/booking/filter.

idint64nullable

Booking ID

Example: 512
uuidstringnullable

Booking UUID

Example: 8f3c2b16-9e51-4d0a-9f26-2f0b1c7a51de
numberstringnullable

Booking number

Example: B-2024-118
statusBookingStatus

Booking status.

  • ACTIVE — active, the term has not expired
  • CONTRACT — the booking turned into a contract
  • CANCELED — cancelled

Possible values: [ACTIVE, CONTRACT, CANCELED]

Example: ACTIVE
sourceBookingSource

Where the booking came from.

  • COMPANY — placed by the company itself (from inside the CRM)
  • MARKETPLACE — placed through the uysot.uz marketplace
  • OTHER — anything else

Possible values: [COMPANY, MARKETPLACE, OTHER]

Example: COMPANY
timestampint64nullable

Booking date, epoch seconds

Example: 1730419200
delayint32nullable

Booking term, in days

Example: 7
remainedint32nullable

Days remaining of the term

Example: 3
prePaymentdoublenullable

Prepayment amount, in currency

Example: 15000000
refundablePaymentbooleannullable

Whether the prepayment is refundable

Example: true
dealPricedoublenullable

Agreed price (discount applied), in currency

Example: 890000000
currency object

Currency information object.

idint32

Currency ID

Example: 1
valuedouble

Exchange rate (1 for the basic currency)

Example: 1
updateTimestampint64

Last update time (epoch seconds)

Example: 1672531200
basicboolean

Whether it's the company's basic currency

Example: true
ccystring

Currency code

Example: USD
notestringnullable

Free-text note

Example: Mijoz juma kuni keladi
employee object

Compact employee reference.

idint32

Employee ID

Example: 201
fullNamestring

Employee full name

Example: David Wilson
cancelEmployee object

Compact employee reference.

idint32

Employee ID

Example: 201
fullNamestring

Employee full name

Example: David Wilson
client object

Company client information object.

idint64

Client ID

Example: 1001
namestring

Client name (individual or legal entity)

Example: John Doe
innstring

Client INN (individual's PINFL)

Example: 123456789
statusClientStatus

Client status enum.

Possible values: [NEW, ACTIVE, PASSIVE, ARCHIVE]

Example: ACTIVE
flat 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.

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
house object

Most compact house (project) reference — identity only.

idint32

House ID

Example: 12
namestringnullable

House name

Example: Green Valley
branchIdint32nullable

Branch the booking was created in

Example: 1
branchNamestringnullable

Branch name

Example: Chilonzor
contractIdint32nullable

Contract the booking turned into (set when status is CONTRACT)

Example: 1409
contractNumberstringnullable

Contract number

Example: C-1409
cancelTimestampint64nullable

Cancellation time, epoch seconds

Example: 1733011200
cancelNotestringnullable

Cancellation note

Example: Mijoz voz kechdi
cancelReasons object[]nullable

Cancellation reasons attached to the booking.

  • Array [
  • idint32nullable

    Reason ID

    Example: 3
    nameUzstringnullable

    Name in Uzbek (Latin)

    Example: Mijoz voz kechdi
    nameRustringnullable

    Name in Russian

    Example: Клиент отказался
    nameEnstringnullable

    Name in English

    Example: Client withdrew
    nameKrstringnullable

    Name in Uzbek (Cyrillic)

    Example: Мижоз воз кечди
    nameTjstringnullable

    Name in Tajik

    Example: Муштарӣ даст кашид
    nameKystringnullable

    Name in Kyrgyz

    Example: Кардар баш тартты
  • ]
  • realtorIdint32nullable

    Realtor company that placed the booking (in the MARKETPLACE flow)

    Example: 77
    realtorNamestringnullable

    Realtor company name

    Example: Uysot Realty
    BookingTableDTO
    {
    "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"
    }