ContractTableDTO
Compact contract row returned by the contract filter endpoint.
Contract ID
5001Contract number
CNT-2023-001Unique payment number
PAY-2023-001Contract date (epoch seconds) — matches the contractTimestampFrom/To filter.
1672531200Time the contract was entered into the system (epoch seconds) — matches the registeredTimestampFrom/To filter and the REGISTERED_DATE sort key. Incremental sync cursors resume from this value.
1672534800Contract status enum.
Possible values: [STARTED, ACTIVE, CANCELLED, FINISHED, TRANSFERRED]
ACTIVEFormal (true) or informal (false) contract — matches the formal filter.
trueresponsibleBy objectnullable
Responsible employee.
Employee ID
201Employee full name
David WilsoncreatedBy object
Compact employee reference.
Employee ID
201Employee full name
David Wilsonbroker objectnullable
Broker.
Employee ID
201Employee full name
David WilsonupdatedBy objectnullable
Employee who last modified the contract. No timestamp is exposed — updatedTimestamp does not exist in the source system yet.
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]
ACTIVEOriginal contract price (without discount)
50000Initial payment
10000Discount amount
5000Discount percentage — matches the discounted filter, amount is in discount.
1.76Deal price (amount − discount)
45000Paid amount
15000Payment status (computed) — matches the paymentStatuses filter.
Possible values: [PAID, UN_PAID]
PAIDPayment way (computed) — matches the paymentWays filter.
Possible values: [MONTHLY_PAYMENT, PREPAYMENT, BOTH]
BOTHRemaining amount = amount − discount − paidAmount (computed, not a column).
35000Penalty
0Initial payment date (dd.MM.yyyy) — calendar day, no time part.
15.01.2023Payment delay in days
0Mortgage amount
20000Paid mortgage amount
5000Mortgage date (dd.MM.yyyy)
20.01.2023Monthly payment amount
2000currency 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
USDApartment IDs — derived from flats.
[101,102]flats object[]
Contract's apartments — with building and house names.
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 objectnullable
House (project) the contract belongs to — flats always comes from a single house.
House ID
12House name
Green ValleyOnline contract signature status.
Possible values: [UNSIGNED, SIGNED_BY_CLIENT, SIGNED_BY_BUILDER, SIGNED, CANCELED]
SIGNEDfields object[]
Custom field values.
Field ID
1Custom field value (resolved per type
VIP ClientCustom field name
Client TypeContract field type enum (the CONTRACT-family slice of uysot-v2's CustomFieldType).
Serialized by name.
Possible values: [TEXT, EXTENDED_TEXT, DATE, SELECT, MULTI_SELECT, RADIO, TOGGLE_SWITCH, URL, TAG, LOCATION, COUNTER, ADDRESS, EMPLOYEE, FILE, NUMBER]
SELECTWhether value is mandatory
trueDisplay order
1Numeric value — only for type: NUMBER.
1500.5Currency ID — only for type: NUMBER.
1Ordered list of values for multi-row types (MULTI_SELECT/EMPLOYEE/FILE). Always an array, empty when not applicable.
[]Latitude — only for type: LOCATION.
41.311081Longitude — only for type: LOCATION.
69.240562files object[]
Attached files — only for type: FILE. Always an array, empty when not applicable.
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=3600Deprecated, no longer populated by the API — kept only because it shipped in a previous release.
Regular ClientcanceledBy objectnullable
Employee who cancelled the contract.
Employee ID
201Employee full name
David WilsonCancellation time (epoch seconds)
1672617600Deletion time (epoch seconds), or absent when not deleted. Only present when the row was returned with includeDeleted: true.
1672704000Cancellation reason — populated on CANCELLED contracts.
Client requestContract comment
Special conditions applydeletedBy objectnullable
Employee who deleted the contract — pairs with deletedTimestamp.
Employee ID
201Employee full name
David WilsonBase contract ID — for TRANSFERRED contracts, which contract this one came from.
5000Base contract number
CNT-2022-999{
"id": 5001,
"number": "CNT-2023-001",
"payNumber": "PAY-2023-001",
"createdTimestamp": 1672531200,
"registeredTimestamp": 1672534800,
"status": "ACTIVE",
"formal": true,
"responsibleBy": {
"id": 201,
"fullName": "David Wilson"
},
"createdBy": {
"id": 201,
"fullName": "David Wilson"
},
"broker": {
"id": 201,
"fullName": "David Wilson"
},
"updatedBy": {
"id": 201,
"fullName": "David Wilson"
},
"client": {
"id": 1001,
"name": "John Doe",
"inn": "123456789",
"status": "ACTIVE"
},
"amount": 50000,
"prepayment": 10000,
"discount": 5000,
"discountPercent": 1.76,
"dealPrice": 45000,
"paidAmount": 15000,
"paymentStatus": "PAID",
"paymentWays": "BOTH",
"residue": 35000,
"surcharge": 0,
"prepaymentDate": "15.01.2023",
"delay": 0,
"mortgageAmount": 20000,
"mortgagePayed": 5000,
"mortgageDate": "20.01.2023",
"monthlyPaymentAmount": 2000,
"currency": {
"id": 1,
"value": 1,
"updateTimestamp": 1672531200,
"basic": true,
"ccy": "USD"
},
"flatIds": [
101,
102
],
"flats": [
{
"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"
},
"signatureStatus": "SIGNED",
"fields": [
{
"fieldId": 1,
"value": "VIP Client",
"name": "Client Type",
"type": "SELECT",
"required": true,
"sortOrder": 1,
"number": 1500.5,
"currencyId": 1,
"values": [],
"latitude": 41.311081,
"longitude": 69.240562,
"files": []
}
],
"canceledBy": {
"id": 201,
"fullName": "David Wilson"
},
"canceledTimestamp": 1672617600,
"deletedTimestamp": 1672704000,
"cancelText": "Client request",
"comment": "Special conditions apply",
"deletedBy": {
"id": 201,
"fullName": "David Wilson"
},
"baseId": 5000,
"baseNumber": "CNT-2022-999"
}