v1

latestOpenAPI 3.0.12026-07-2464217456.8 KB
Fields

Add field Option

post/1.0/fields/{fieldId}/add-option

Path parameters

fieldIdinteger required

The field's unique, system-generated identifier, which can be used to identify the field globally.

Request body

optionColor'RED' | 'YELLOW' | 'GREEN' | 'TEAL' | 'CYAN' | 'BLUE' | 'PURPLE' | 'MAGENTA' | 'GRAY' | 'COOL_GRAY' required

The optionColor reflects the color of the options for the single or multiple choice field.

optionLabelstring required

The optionLabel reflects the name of the options for the single or multiple choice field.

Example request

{
  "optionColor": "RED",
  "optionLabel": "High"
}

Response

The resource was successfully created in the database.

optionValueinteger

The optionValue is the unique identifier and is unique for each field.

optionLabelstring

The optionLabel reflects the name of the options for the single or multiple choice field.

optionColor'RED' | 'YELLOW' | 'GREEN' | 'TEAL' | 'CYAN' | 'BLUE' | 'PURPLE' | 'MAGENTA' | 'GRAY' | 'COOL_GRAY'

The optionColor reflects the color of the options for the single or multiple choice field.

Example response

{
  "optionValue": 2,
  "optionLabel": "Todo",
  "optionColor": "RED"
}