ContractTableDTO
Compact contract row returned by the contract filter endpoint.
Contract ID
5001Contract number
CNT-2023-001Unique payment number
PAY-2023-001Creation time (epoch seconds)
1672531200Contract status enum.
Possible values: [STARTED, ACTIVE, CANCELLED, FINISHED, TRANSFERRED]
ACTIVEresponsibleBy object
Compact employee reference.
Employee ID
201Employee full name
David WilsonAvatar URL/key (nullable)
avatars/201.pngclient 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
5000Deal price (amount − discount)
45000Paid amount
15000currency 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.
[101,102]Online contract signature status enum.
Possible values: [UNSIGNED, SIGNED_BY_CLIENT, SIGNED_BY_BUILDER, SIGNED, CANCELED]
SIGNEDfields object[]
Custom field values.
Field ID
1Custom field value
VIP ClientCustom field name
Client TypeWhether value is mandatory
truePrevious value (if changed)
Regular ClientcanceledBy object
Compact employee reference.
Employee ID
201Employee full name
David WilsonAvatar URL/key (nullable)
avatars/201.pngCancellation time (epoch seconds)
1672617600{
"id": 5001,
"number": "CNT-2023-001",
"payNumber": "PAY-2023-001",
"createdTimestamp": 1672531200,
"status": "ACTIVE",
"responsibleBy": {
"id": 201,
"fullName": "David Wilson",
"avatar": "avatars/201.png"
},
"client": {
"id": 1001,
"name": "John Doe",
"inn": "123456789",
"status": "ACTIVE"
},
"amount": 50000,
"prepayment": 10000,
"discount": 5000,
"dealPrice": 45000,
"paidAmount": 15000,
"currency": {
"id": 1,
"value": 1,
"updateTimestamp": 1672531200,
"basic": true,
"ccy": "USD"
},
"flatIds": [
101,
102
],
"signatureStatus": "SIGNED",
"fields": [
{
"fieldId": 1,
"value": "VIP Client",
"name": "Client Type",
"required": true,
"oldValue": "Regular Client"
}
],
"canceledBy": {
"id": 201,
"fullName": "David Wilson",
"avatar": "avatars/201.png"
},
"canceledTimestamp": 1672617600
}