Form Definition

Get the information of a form definitions

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Attributes

Attribute NameTypeDescriptionAttributes
selfreferenceURL of the Form DefinitionRead-only
Non-null
namestringThe name of the form definitionRead-Write
Non-null
Required
descriptionstringDescription of the form definitionRead-Write
Nullable
is_activebooleanWhether new forms can be made from this definitionRead-Write
Non-null
Default value is true
entitiesarray of stringThe types of record forms can be added to, e.g. ["Contact", "Project"]. Send lowercase names: contact, company, opportunity, project, task, appointment, group, note, emailRead-Write
Nullable
key_definitionsarray of fieldThe fields on the form (max 64). See FieldsRead-Write
Nullable
trashedbooleanWhether the definition is in the trash. Set to false to restore itRead-only
Non-null
create_datedatetimeWhen the form definition was createdRead-only
Non-null

Fields

Each entry in key_definitions describes one field:

{ "name": "Areas checked", "type": "multiple_checkboxes", "options": ["Roof", "Basement", "Wiring"], "default": "Roof" }
KeyDescription
nameField name (max 256 characters). Forms refer to the field by this name
typeOne of the types below. Required
descriptionDescription of the field
optionsOption names, for option, combo and multiple_checkboxes fields
defaultDefault value; for option fields, the name of the default option
typeDaylite field typeValue on a form
textTextvalue: string
numberNumbervalue: integer
floatDecimal Numbervalue: number
moneyCurrencyvalue: number
dateDatevalue: date-time string
timeTimevalue: date-time string
date_timeDate & Timevalue: date-time string
checkboxCheckboxvalue: 1 or 0
optionPopup Optionsvalues: array with one option name
comboCombo Box Optionsvalues: array of option names
multiple_checkboxesMultiple Checkboxesvalues: array of option names

When updating a definition, a key_definitions array replaces the fields it names and adds any new ones. To remove a field, send {"key_definitions": {"remove": [{"name": "Rating"}]}}.

Path Params
int32
required

The form definition ID

Query Params
boolean

Return a smaller version of the record that leaves out lists and linked records.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json