Customfieldconfiguration
Represents the custom field definition configuration.
TRUE if a custom field is available for all objects, FALSE otherwise.
Can be defined only for selection custom field definitions. Indicates the parent custom field definition on which the dependency is based upon.
displaySettings objectrequired
Represents the display settings of a custom field definition.
The user-provided description of the custom field definition.
The user-provided name of the custom field definition.
The custom field value display size in the UI.
Possible values: [SHORT, LONG]
editRights object
Represents the access rights configuration.
TRUE if the configuration can be viewed or edited by all users, FALSE if only the users with the specified roles can view or edit the configuration.
The user-defined ID, which is globally unique.
searchIndexes object
The search index information for the custom field definition. empty if field is not searchable
The search index information for the custom field definition. empty if field is not searchable
selectionOptions object[]
Can be defined only for selection custom field definitions. Indicates that the field has predefined selections and only those can be used to populate it.
availableOptions object[]required
The list of options that that are available for the dependent selection custom field value based on the selected parent custom field value.
The score of the option.
The system-generated ID of the option.
The name of the option.
The ID for the parent selection custom field value. Can only be set if the custom field has the dependent field defined.
Indicates whether the custom field definition is active or inactive.
Possible values: [ACTIVE, INACTIVE]
The type of custom field definition.
Possible values: [FREE_TEXT, SELECTION, NUMBER, CHECKBOX, DATE, DATE_TIME, CLIENT_LINK, GROUP_LINK, USER_LINK]
usage object[]
Defines the usage at the record type level. The custom field definition is going to be available only for the record types that are referenced in the list by ID. Mutually exclusive with usage defined on custom field definition level by therequired and default properties. For selection custom field definitions that have a dependentFieldId set, the usage is inherited from the dependent field and must not be defined.
The user-defined ID of the associated entity. The ID must already exist.
validationRules object
Represents the settings for field input validation.
TRUE if this field does not allow duplicate values, FALSE otherwise.
The expected format for the input.
viewRights object
Represents the access rights configuration.
TRUE if the configuration can be viewed or edited by all users, FALSE if only the users with the specified roles can view or edit the configuration.
{
"availableForAll": true,
"default": true,
"dependentFieldId": "string",
"displaySettings": {
"description": "string",
"displayName": "string",
"fieldSize": "SHORT"
},
"editRights": {
"allUsers": true,
"roles": [
"string"
]
},
"id": "string",
"required": true,
"searchIndexes": {},
"selectionOptions": [
{
"availableOptions": [
{
"score": 0,
"selectionId": "string",
"value": "string"
}
],
"forSelectionId": "string"
}
],
"state": "ACTIVE",
"type": "FREE_TEXT",
"usage": [
{
"default": true,
"id": "string",
"required": true
}
],
"validationRules": {
"unique": true,
"validationPattern": "string"
},
"viewRights": {
"allUsers": true,
"roles": [
"string"
]
}
}