Skip to main content

FlatFieldValueDTO

One custom field value of an apartment — same shape as ContractFieldValueDTO. Which of the extra keys are filled depends on type; fields that are null are omitted from the response entirely.

fieldIdint64

Field ID — matches FlatFieldDTO.id

Example: 12
valuestringnullable

The resolved value as text (option name, date, URL, …)

Example: Ochiq
namestringnullable

Field name

Example: Balkon turi
typeCustomFieldType

Custom field type, shared by every custom-field family (contract, flat, payment and lead task). Serialized by name. Identical value set to ContractFieldType, which remains as the contract-family alias.

Possible values: [TEXT, EXTENDED_TEXT, DATE, SELECT, MULTI_SELECT, RADIO, TOGGLE_SWITCH, URL, TAG, LOCATION, COUNTER, ADDRESS, EMPLOYEE, FILE, NUMBER]

Example: SELECT
requiredbooleannullable

Whether the field is mandatory

Example: false
sortOrderint32nullable

Display position

Example: 1
numberdoublenullable

Numeric value — NUMBER fields only

Example: 1500000
currencyIdint32nullable

Currency of number — NUMBER fields only

Example: 24
valuesstring[]

Ordered values of a multi-value field (MULTI_SELECT, EMPLOYEE, FILE). Empty for single-value types.

Example: []
latitudedoublenullable

Latitude — LOCATION fields only

Example: null
longitudedoublenullable

Longitude — LOCATION fields only

Example: null
files object[]

Attached files — FILE fields only. Empty for every other type.

  • Array [
  • absolutePathstringnullable

    Presigned URL to the full-size file

    Example: https://minio.uysot.uz/uysot/files/201/avatar.png?X-Amz-Expires=3600
    thumbAbsolutePathstringnullable

    Presigned URL to the thumbnail rendition

    Example: https://minio.uysot.uz/uysot/files/201/avatar_thumb.png?X-Amz-Expires=3600
    smallestAbsolutePathstringnullable

    Presigned URL to the smallest rendition

    Example: https://minio.uysot.uz/uysot/files/201/avatar_small.png?X-Amz-Expires=3600
  • ]
  • FlatFieldValueDTO
    {
    "fieldId": 12,
    "value": "Ochiq",
    "name": "Balkon turi",
    "type": "SELECT",
    "required": false,
    "sortOrder": 1,
    "number": 1500000,
    "currencyId": 24,
    "values": [],
    "latitude": null,
    "longitude": null,
    "files": [
    {
    "absolutePath": "https://minio.uysot.uz/uysot/files/201/avatar.png?X-Amz-Expires=3600",
    "thumbAbsolutePath": "https://minio.uysot.uz/uysot/files/201/avatar_thumb.png?X-Amz-Expires=3600",
    "smallestAbsolutePath": "https://minio.uysot.uz/uysot/files/201/avatar_small.png?X-Amz-Expires=3600"
    }
    ]
    }