Deze referentie is alleen in het Engels. Naar het Nederlandse REST API-overzicht

Diese Referenz gibt es nur auf Englisch. Zur deutschen REST-API-Übersicht

Cette référence existe uniquement en anglais. Aller à la présentation de l'API REST en français

Esta referencia solo está en inglés. Ir a la introducción de la API REST en español

CustomField

CustomField

A field the organisation added to one of its record types, such as a licence plate on customers.

View as Markdown
Summary view
CustomFieldList, 14 fields. What a list returns by default.
Detail view
CustomField, 14 fields. The default for a single read and for every write.
Read with
api:read

Its value sits in that record's custom_fields object under the field's code. Only active fields are listed, and only on record types you may read. Read-only: fields are managed in plnnrly, under Settings > Modules > Custom fields.

Used by

GETRead a custom field/custom-fields/{custom_field}CustomField

Fields

Detail only
Only in the detail view.
Only with include
Only when you ask for it with include.
Server-assigned
Set by plnnrly, never by a request.
idinteger

Unique identifier.

codestring≤ 255

The field's key in a record's custom_fields, such as licence_plate. It never changes once the field exists, so clients and automations can rely on it.

namestring≤ 255

The label plnnrly shows, in the organisation's own words.

descriptionstring or null

The help text shown with the field, or null.

typestring≤ 255

What the field holds, and so the shape of its value: text, textarea, color-picker and markdown-editor a string; rich-editor HTML; email, phone, link and tags-input a list of strings; number an integer; currency a decimal string; date YYYY-MM-DD; date-time a UTC date-time with a Z; checkbox and toggle a boolean; select, radio and toggle-buttons one option id; multi-select and checkbox-list a list of option ids.

entity_typestring

The record type the field is on, such as customer.

projectcustomercontactuserwork_itemevent

New values may be added.

sectionobject or null

The section of the form the field is in.

Show 2 child fields
section.idinteger

The section's id.

section.namestring

The section's heading, as shown in the form.

requiredboolean

Whether the field must hold a value. A write may leave it out, but may not clear it with null.

api_writableboolean

Whether a write through the API may set the field.

sort_orderinteger or null

Where the field sits within its section, lowest first.

Variants

CustomFieldList 14 fields

What a collection returns, and what ?view=summary returns on a single record.

The same fields as the detail object.

Columns deliberately not published

activeOnly active fields are listed.
custom_field_section_idPublished as section.id.
lookup_typeOnly fields that pick a record use it, and plnnrly offers none.
settingsHow the field is shown in plnnrly; its description is published as description.
system_definedEvery field is one the organisation added.
validation_rulesPublished as required; the other rules are applied when a value is written.
widthHow wide the field is drawn in a form: layout only.