- Home
- Models
- Value
Value
When a response is saved, each field that is filled in stores a value. Some field types store small sets of data, e.g. text, email or telephone, while others store longer text data, e.g. address or checkbox
Value fields
Field |
Type |
Fillable |
Reference |
id
|
Integer
|
|
|
The unique ID to identify the value
|
Value relations
field,
field.option,
files,
media,
number,
organisation,
Value endpoints
GET List all Values /values toggle
Paramaters
There are no parameters for this endpoint
Example response
POST Store a newly created Value /values/:id toggle
URL slugs
- id
-
Integer
The unique ID to identify the value
Paramaters
- contact_id
-
Reference
Nullable
References contact model.
- data
-
String
The new value to replace with
- field_id
-
Reference
References field model.
- numeric
-
String
[No documentation available]
- organisation_id
-
Reference
Nullable
References organisation model.
- response_id
-
Reference
Nullable
References response model.
- safe_db
-
String
[No documentation available]
- text
-
String
Nullable
Long string value
- varchar
-
String
Nullable
Short string value
DELETE Delete a Value /values/:id toggle
URL slugs
- id
-
Integer
The unique ID to identify the value
Paramaters
There are no parameters for this endpoint