MonthlyPaymentFilterDTO
Request body for POST /v1/open-api/monthly-payment/filter. Send
contractIds: [1024] for a single contract's schedule; several IDs fetch many
contracts' schedules in one call — each row carries contractId so the client
groups them itself. Always returns only the active schedule (a contract has at
most one active schedule at a time), so there is no schedule-status filter.
Page number, 1-based (min 1).
Possible values: >= 1
11Page size (min 1, max 100 — higher than most other filters).
Possible values: >= 1 and <= 100
1550orders object
Sort order. Each key is a sort field (see MonthlyPaymentOrderField) and each
value a direction. Keys are applied in the order they appear in the JSON
object. A row-id tie-breaker is always appended internally (there is no ID
sort key — the row id is never exposed). Omit (or send {}) to keep the
default order — DATE ASC.
Possible values: [ASC, DESC]
Contract IDs; empty/omitted — all of the company's contracts.
[1024,1025,1026]Lower bound (inclusive) of the schedule date (dd.MM.yyyy). No epoch-seconds pair — the underlying column has no time part.
01.01.2025Upper bound (inclusive) of the schedule date (dd.MM.yyyy).
31.03.2025Lower bound (inclusive) of the actual paid date (dd.MM.yyyy).
01.02.2025Upper bound (inclusive) of the actual paid date (dd.MM.yyyy).
28.02.2025Lower bound (inclusive) of when the schedule row was created, epoch seconds.
1735689600Upper bound (inclusive) of when the schedule row was created, epoch seconds.
1767207599true — only paid rows, false — only unpaid rows, null (omit) — all.
true — only prepayment rows, false — the rest.
Filter by row type.
Possible values: [MONTHLY_PAYMENT, PREPAYMENT, MORTGAGE, REMAINING]
["PREPAYMENT"]{
"page": 1,
"size": 50,
"orders": {
"CONTRACT_ID": "ASC",
"DATE": "ASC"
},
"contractIds": [
1024,
1025,
1026
],
"dateFrom": "01.01.2025",
"dateTo": "31.03.2025",
"paidDateFrom": "01.02.2025",
"paidDateTo": "28.02.2025",
"createdTimestampFrom": 1735689600,
"createdTimestampTo": 1767207599,
"paid": true,
"prepayment": true,
"types": [
"PREPAYMENT"
]
}