Update Custom Table for Contact

Updates a custom table for the specified contact.

Resource Information


Deprecated scope name:   update_contact_customtables

App TypeAll
Authorization TypeAccess token
URI /v4/contacts/{contactId}/customTables?lang={lang}
Automation Version(s)

Request Information

Field or ParameterTypeRequiredValuesDescriptionAutomation Version
contactIdlongYes Get All Contacts The unique ID associated with the contact.
langStringNoIndicates the language applied.
[]arrayYesArray containing the custom table(s).
idstringNoThe unique identifier for the custom table to be modified or deleted.
rows[]rows{}YesContains the table rows.
rows.actionstringYesadd | update | delete�Specifies whether to add, update, or delete the custom table row.7.3.2
rows.fieldsrows.fields{}NoContains fields and their attributes. Required only if adding or modifying a row.
rows.fields.<customType>stringNoA custom field name and value pair. For example in JSON, "My Custom Field": "My Custom Value". The custom field name and its data type are defined in Automation custom forms or custom tables.
  • For a Text field, the maximum length is 256.
  • For a Number field, any numeric form is allowed, including negative numbers.
  • For a Date field, the format is MM/dd/yyyy.
  • For a Time field, the format is hh:mm.
  • For a TextArea field, the maximum length is 4000 characters, and allows line return characters.
  • For a DropdownList field, the dropdown list values are in the options[] array.
  • For a CheckBox field, the (case-sensitive) valid values are "UNCHECKED" and "CHECKED".
  • For a Radio(Y/N) field, the(case-sensitive) valid values are "Yes" and "No".
rows.idstringNoThe unique identifier for the custom field. Required only if modifying or deleting a row.

Response Information

FieldTypeDescriptionAutomation Version
result.codestringA code identifying an associated item7.3.3.4
result.idstringThe unique identifier for the object, assigned by the Civic Platform server and provided in a response.
result.isSuccessbooleanIndicates whether or not the operation on the item is successful.
result.messagestringA text message related to the operation.
statusintegerThe record status.