v1

latestOpenAPI 3.1.02026-07-242442479.7 KB

Create a Picklist Field

post/api/v2/system-field/{objectType}/picklist

Path parameters

objectTypeinteger required

Use an object's number here to assign this field to an object.

Request body

fieldNamestring required

System field name. Must start with 'pcf' or the field will not be created.

labelstring required

Field name used for system displays.

defaultValueinteger

Value used by default for this field. Must match field requirements, in this case one of the defined picklist options.

followboolean

To track all changes made to this field, enter ׳true׳.

additionalProperty'required' | 'readonly'

Select required or read only to set these properties, or leave blank.

Response

200

object required