Skip to main content

LeadTaskFieldValueDTO

Lead task custom field value object, as returned inside LeadTaskResponseDTO.fields — same shape as ContractFieldValueDTO. Null-valued properties are omitted from the response JSON entirely (not sent as null). When writing a value in POST /v1/open-api/lead-task/{leadId}/save, use LeadTaskFieldValueRequestDTO instead.

fieldIdint64

Field ID

Example: 91
valuestringnullable

Custom field value, resolved per type (e.g. ADDRESS → full address JSON, LOCATION → left in latitude/longitude instead).

Example: Phone
namestringnullable

Custom field name

Example: Contact method
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 value is mandatory

sortOrderint32nullable

Display order

numberdoublenullable

Numeric value — only for type: NUMBER.

currencyIdint32nullable

Currency ID — only for type: NUMBER.

valuesstring[]

Ordered list of values for multi-row types (MULTI_SELECT/EMPLOYEE). Always an array, empty when not applicable.

Example: []
latitudedoublenullable

Latitude — only for type: LOCATION.

longitudedoublenullable

Longitude — only for type: LOCATION.

files object[]

Attached files — only for type: FILE. Always an array, empty when not applicable.

  • 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
  • ]
  • LeadTaskFieldValueDTO
    {
    "fieldId": 91,
    "value": "Phone",
    "name": "Contact method",
    "type": "SELECT",
    "required": true,
    "sortOrder": 0,
    "number": 0,
    "currencyId": 0,
    "values": [],
    "latitude": 0,
    "longitude": 0,
    "files": []
    }