Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 40.6 KB

File metadata and controls

10 lines (7 loc) · 40.6 KB

UpdateContactCustomFieldAnswersRequest

Fields

Field Type Required Description Example
id String ✔️ ID of a contact. 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3
customFieldId String ✔️ ID of a custom field. 04ca6ae2-0dc3-487b-953e-86d6abbdf7d3
customField CustomFieldInput ✔️ Custom Field answers to be updated. Answer values must be formatted correctly for a given Custom Field. The available fields and their supported formats are listed below.
* Open Ended Text - Date/Time. This field type has several possible user-selected answer formats:
- Date/Time (2022-01-01T12:00:00Z). Denoted by DateTime in the response payload. Milliseconds are truncated.
- Date (2022-01-01). Denoted by Date in the response payload.
* Open Ended Text - One Line. This field type has several possible user-selected answer formats:
- General (Text). Denoted by General in the response payload.
- Number (Whole numbers, 10, -10). Denoted by Number in the response payload.
- Currency (Positive decimal value, 10.5). Denoted by Currency in the response payload.
- Decimal (-20.5). Denoted by Decimal in the response payload.
- US Phone Number (123-456-7890). Denoted by USPhoneNumber in the response payload.
- Email Address (h.potterfield@test.com). Denoted by Email in the response payload.
* Open Ended Text - Comment Box. Answer format is free-text (any value). Denoted by FreeText in the
response payload.
* Choice - Single Answer (Drop-Down, Vertical, Horizontal). Answer format is exactly one response to a
list of user-defined choices. Denoted by SingleSelect in the response payload.
* Choice - Multiple Answers (Multi-Select Box, Vertical, Horizontal). Answer format is one or more
responses from a list of user-defined choices. Denoted by MultiSelect in the response payload.

To delete a Custom Field Answer, send an empty list of answers for a given Custom Field ID.