BookingFilterDTO
Booking filter request body. Pagination plus optional filters — every list filter is
ignored when empty, and all filters are combined with AND. Bookings carry no
custom fields, so there is no fields filter.
Page number, 1-based. Min 1.
Possible values: >= 1
11Page size. Min 1, max 100.
Possible values: >= 1 and <= 100
1515orders object
Sort order. Each key is a sort field — ID, NUMBER, TIMESTAMP,
CANCEL_TIMESTAMP, PREPAYMENT, DEAL_PRICE, DELAY or STATUS (see
BookingOrderField) — and each value a direction. Keys are applied in the
order they appear in the JSON object. Unless ID is one of the keys, a
trailing ID DESC tie-breaker is appended so paging stays stable. Omit (or
send {}) to sort by ID DESC only.
Possible values: [ASC, DESC]
Case-insensitive partial match on the booking number, its note, or the apartment number.
B-2024Filter by booking IDs (optional) — useful for bulk re-sync.
[512,513]Booking number — exact match.
B-2024-118Filter by booking status.
Possible values: [ACTIVE, CONTRACT, CANCELED]
Filter by where the booking came from.
Possible values: [COMPANY, MARKETPLACE, OTHER]
Filter by the employee who placed the booking.
[95]Filter by the employee who cancelled the booking.
[95]Filter by client IDs.
[3001]Filter by apartment IDs.
[1024]Filter by building (block) IDs.
[10,11]Filter by house (project) IDs — see GET /v1/open-api/house/all.
[144]Filter by the branch the booking was created in.
[1]Filter by currency IDs.
[24]Filter by the contract the booking turned into (set when status is CONTRACT).
[1409]Filter by cancellation reason IDs — see GET /v1/open-api/booking/cancel-reason. A booking matches when it carries any of the listed reasons.
[3,7]Lower bound (inclusive) for the booking date, epoch seconds.
1730419200Upper bound (inclusive) for the booking date, epoch seconds.
1733011200Lower bound (inclusive) for the cancellation time, epoch seconds.
1730419200Upper bound (inclusive) for the cancellation time, epoch seconds.
1733011200Lower bound (inclusive) for prePayment.
Possible values: >= 0
1000000Upper bound (inclusive) for prePayment.
Possible values: >= 0
50000000Lower bound (inclusive) for dealPrice.
Possible values: >= 0
500000000Upper bound (inclusive) for dealPrice.
Possible values: >= 0
1200000000Lower bound (inclusive) for the booking term in days.
1Upper bound (inclusive) for the booking term in days.
14Only bookings whose prepayment is refundable (true) or non-refundable (false). null (omit) — don't filter.
trueOnly bookings that turned into a contract (true) or that did not (false). null (omit) — don't filter.
true{
"page": 1,
"size": 15,
"orders": {
"TIMESTAMP": "DESC"
},
"search": "B-2024",
"ids": [
512,
513
],
"number": "B-2024-118",
"statuses": [
"ACTIVE"
],
"sources": [
"COMPANY"
],
"employeeIds": [
95
],
"cancelEmployeeIds": [
95
],
"clientIds": [
3001
],
"flatIds": [
1024
],
"buildingIds": [
10,
11
],
"houseIds": [
144
],
"branchIds": [
1
],
"currencyIds": [
24
],
"contractIds": [
1409
],
"cancelReasonIds": [
3,
7
],
"timestampFrom": 1730419200,
"timestampTo": 1733011200,
"cancelTimestampFrom": 1730419200,
"cancelTimestampTo": 1733011200,
"prepaymentFrom": 1000000,
"prepaymentTo": 50000000,
"dealPriceFrom": 500000000,
"dealPriceTo": 1200000000,
"delayFrom": 1,
"delayTo": 14,
"refundablePayment": true,
"hasContract": true
}