seventhings icon

seventhings

Manage seventhings records, retrieve history and generate PDF reports

Field Definition → Create

AI-generated

Summary

Creates a field definition for the selected asset-tracking template (asset, person, or room), using the supplied field type and label. Optional JSON parameters provide constraints, attributes, relations, a comment, a default value, and possible values.

Inputs

  • Template (required) — Choose the template the field belongs to: Asset, Person, or Room.
  • Field Type (required) — Select the field type, such as Text, Number, Date, Dropdown, or a linked-record type.
  • Label (required) — The user-visible field label.
  • Field Type Constraints — JSON array sent as the field type's constraints.
  • Attributes — JSON array sent as the field definition's attributes.
  • Relations — JSON array sent as the field definition's relations.
  • Comment — Optional comment for the field definition.
  • Default Value — JSON value used as the field's default value; defaults to null.
  • Possible Values — JSON array of possible values; defaults to an empty array.

Output shape

A single field definition returned by the create request.

The source pack shows the create operation and shared field-definition body builder, but omits their implementation bodies, so the exact response envelope and any normalization are unspecified.

Links

Discussion