FieldValueDTO
CRM field value object, as returned when reading a lead/contact (in fields).
When writing a field value in a create/update body, use FieldValueRequestDTO
instead.
idint64
Field ID this value belongs to
Example:
1valuestring
Simple value (as text)
Example:
VIPvalueListstring[]
Multiple values (for multi-select fields).
Example:
["VIP","New"]valueTypeValueType
Field value type enum.
Possible values: [STREET, DISTRICT, DEFAULT]
Default value:
DEFAULTExample:
DEFAULTtypestring
Field type (lowercased, e.g. text, select)
Example:
selectinfoTypeInfoType
Which entity a field/value belongs to.
LED— the leadCONTACT— the contact
Possible values: [LED, CONTACT]
Example:
LEDlongitudedouble
Geo coordinate: longitude (for location fields)
Example:
69.2401latitudedouble
Geo coordinate: latitude (for location fields)
Example:
41.2995numbernumber
Value for NUMBER fields. Populated instead of value.
Example:
1500.5currencyIdint64
Currency ID, present when the NUMBER field's format is CURRENCY.
Example:
24FieldValueDTO
{
"id": 1,
"value": "VIP",
"valueList": [
"VIP",
"New"
],
"valueType": "DEFAULT",
"type": "select",
"infoType": "LED",
"longitude": 69.2401,
"latitude": 41.2995,
"number": 1500.5,
"currencyId": 24
}