Adds a field into the table
Request
- Base URL: https://demo.caspio.com/integrations/rest
- URL: https://demo.caspio.com/integrations/rest/v3/tables/{tableName}/fields
- Auth: API key in header Authorization
Path parameters
Table name
Request body
Field name
Field type
Indicates whether the field value must be unique (possible values = {true, false}, default value = false)
Indicates whether the null value is allowed in the unique field (use only if Unique = true, possible values = {true, false}, default value = false)
Field label (default value = "")
Field description (default value = "")
Display order (default value = 0 which means last)
Used only for TIMESTAMP field type. Indicates whether the date and time will be recorded when record is submitted (possible values = {true, false}, default value = false)
Used only for TIMESTAMP field type. Indicates whether the date and time will be recorded when record is updated (possible values = {true, false}, default value = false)
Used only for TIMESTAMP field type. Indicates the time zone used to record date and time (default value = "")
Field format which is used only for RANDOM ID (possible values {"0", "U", "0U"}) and PREFIXED AUTONUMBER (possible values {"1", "01", "001", "0001", "00001", "000001", "0000001"}) field type (default value = "")
Prefix of the field value which is used only for RANDOM ID and PREFIXED AUTONUMBER field type (string length must be less than 50, default value = "")
Length of the random part value which is used only for RANDOM ID field type (if Format = "0" then Length must be from 8 to 12, if Format = {"U", "0U"} then Length must be from 6 to 12, default value = 12)
Indicates whether the field is the formula field (possible values = {true, false}, default value = false)
List of values which is used only for LIST-STRING, LIST-NUMBER, LIST-DATE/TIME (example: ["value1", "value2", "value3"])
List of values (permitted file extensions) which is used only for ATTACHMENT field type (if null or empty all file types are allowed)
Minimum file size which is used only for ATTACHMENT field type
Maximum file size which is used only for ATTACHMENT field type
Smart resizer option which is used only for ATTACHMENT field type
Optimize for Retina displays option which is used only for ATTACHMENT field type (only if AttachmentSmartResizer = true)
Alt text which is used only for ATTACHMENT field type
Title which is used only for ATTACHMENT field type
Response
Created
Changes
No recorded changes to this operation across all 1 revision of this API.