Skip to content

Custom fields

Fields defined by the company on entities. The type and key no longer change after creation.

Module: Settings (settings).

  • GET /api/v1/field_definitions - List with filters, sorting and pagination (scope settings:read)
  • GET /api/v1/field_definitions/{id} - A record by id (scope settings:read)
  • POST /api/v1/field_definitions - Create a record (scope settings:write)
  • PATCH /api/v1/field_definitions/{id} - Modify the submitted fields (scope settings:write)
  • DELETE /api/v1/field_definitions/{id} - Delete or deactivate (scope settings:write)
  • POST /api/v1/field_definitions/{id}/convert - Moves the field’s list to Nomenclatures, without losing the values. (scope settings:write)
  • id (string, uuid; read): Unique identifier (UUID).
  • entity_key (string; read)
  • field_key (string; read)
  • label (string; write, required)
  • field_type (string; read)
  • required (boolean; write)
  • options (array; write)
  • list_visible (boolean; write)
  • form_order (integer; read)
  • created_at (string, date-time; read): Creation date (ISO 8601).
  • is_active (boolean; write): Whether the record is active.
  • label_i18n (object; read)
  • entity (string; write, required)
  • type (string; write, required)
  • nomenclature (string; write)
  • multiple (boolean; write)
  • field_definitions.created
  • field_definitions.updated
  • field_definitions.deleted