PUT 17.0/database/contactdefinablefields/{contactid}/{definablefieldid}/{definablefielditemid}

Description

Update existing Contact Definable Fields

URI Parameters

Name Description Type Additional information
contactID

integer

Required

definableFieldID

integer

Required

definableFieldItemID

integer

Required

Name Description Type Additional information
ContactID

integer

None.

DefinableFieldID

integer

None.

DefinableFieldItemID

integer

None.

Val

string

String length: inclusive between 0 and 255

ValNumber

decimal number

None.

ValDate

date

None.

application/json, text/json

Sample:
{
  "contactID": 1,
  "definableFieldID": 1,
  "definableFieldItemID": 1,
  "val": "sample string 1",
  "valNumber": 1.0,
  "valDate": "2025-01-09T20:44"
}

application/xml, text/xml

Sample:
<ContactDefinableFieldsUpdate xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ContactID>1</ContactID>
  <DefinableFieldID>1</DefinableFieldID>
  <DefinableFieldItemID>1</DefinableFieldItemID>
  <Val>sample string 1</Val>
  <ValNumber>1</ValNumber>
  <ValDate>2025-01-09T20:44:02.2109916+00:00</ValDate>
</ContactDefinableFieldsUpdate>

application/x-www-form-urlencoded

Sample:

Sample not available.

Name Description Type Additional information
ContactID

integer

None.

DefinableFieldID

integer

None.

DefinableFieldItemID

integer

None.

Val

string

String length: inclusive between 0 and 255

ValNumber

decimal number

None.

ValDate

date

None.

application/json, text/json

Sample:
{
  "contactID": 1,
  "definableFieldID": 2,
  "definableFieldItemID": 3,
  "val": "sample string 4",
  "valNumber": 5.0,
  "valDate": "2025-01-09T20:44"
}

application/xml, text/xml

Sample:
<ContactDefinableFields xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ContactID>1</ContactID>
  <DefinableFieldID>2</DefinableFieldID>
  <DefinableFieldItemID>3</DefinableFieldItemID>
  <Val>sample string 4</Val>
  <ValNumber>5</ValNumber>
  <ValDate>2025-01-09T20:44:02.2109916+00:00</ValDate>
</ContactDefinableFields>