Create a new custom field.Ask AIpost https://api.greenshadesonline.com/employees/customfieldsQuery ParamsworkspaceIdintegerrequiredResults are filtered by workspace IdBody ParamsDescription Follow these guidelines when creating a new custom field: A new id will be assigned upon creation. Custom field name must be unique. The enumValues field is only compatible with the Enum dataType. The regex field is only compatible with the Text dataType. idstringnamestringlength between 1 and 50descriptionstring | nulldataTypestringenumBooleanDateDateTimeDecimalDollarEnumIntegerPercentageTextTextMultilineShow 10 enum valuesenumValuesarray of stringslength ≥ 0enumValuesADD stringregexobject | nullCompatible with dataType Text. Employee values must adhere to the given pattern.regex object | nullHeadersacceptstringenumDefaults to application/jsonGenerated from available response content types*/*application/jsonapplication/xmlAllowed:*/*application/jsonapplication/xmlResponses 201Success 400Bad Request 401Unauthorized 404Not FoundUpdated 12 months ago