Field Values
Last updated
Last updated
The examples below will take you through filling in the checklist of your record, for all kinds of checklists fields.
Use the Create field value API.
The value
attribute is a plaintext string.
Follow the same instructions as #adding-text to overwrite existing text.
To clear all text, use the Create field value API and set the value
attribute to an empty string.
Use the Create field value API.
The value
attribute is a numerical value.
Follow the same instructions as Filling a number to overwrite the existing number.
To delete the number, use the Create field value API and set the value
attribute to null
.
Use the Create field value API.
The value
attribute is either a string or an array of strings.
Follow the same instructions as Filling an option to overwrite the existing option(s).
To delete all the options, use the Create field value API and set the value
attribute to []
or null
.
Use the Create field value API.
The value
attribute is a date as a string, in the format yyyy-mm-dd
.
Follow the same instructions as Filling a date to overwrite the existing date.
To delete the date, use the Create field value API and set the value
attribute to null
.
Use the Create field value API. The value
attribute is a JSON object or an array of JSON objects, representing either a user or a group.
Alternatively, you can use the Update field value API and specify a single user or group instead of all of them. This will effectively append a value to the existing values instead of overwriting them.
Use the Delete field value API. The value
attribute is a JSON object representing the user or group you wish to delete
Use the Update field value API.
You must first upload your file using the Upload file API. Then, you can attach it to the checklist using the file id and version id.
Use the Create field value API and set the value attribute to [] or null to delete all the files from the checklist field.
Alternatively, use the Delete field value API to delete a single file from the checklist field.
Use the Create field value API. You do not need to send anything in the payload to generate the PDF.
Use the Create field value API. When creating a revision, you can specify the following options:
A comment (revision notes)
Data to copy over
Metadata
Checklist field values
Use the Create field value API. When requesting an approval, you can specify users and groups that can sign the approval.
Use the Create field value API. When signing, you can specify the following options:
Whether to use a custom signature or the default one
Whether to approve or reject
A comment
Your email and password
Use the Create field value API and set the revision
attribute to true
.
Use the Create field value API. The value
attribute would match the payload used in the Create record API.
To add more values, the same API can be used. It will not overwrite existing values.
Use the Create field value API. The value
attribute is an array of record ID's. This will overwrite any existing records present in the field.
Alternatively, you can use the Update field value API and specify a single record ID. This will "append" a value to the existing values, without overwriting them.
To delete all the values, use the Create field value API and set the value
attribute to null
or []
.
To delete a single value, use the Delete field value API and specify the value to be deleted in the payload.
Use the Update field value API. The value
attribute would match the payload used in the Create record API.
Use the Create field value API. The value
attribute is an array of objects. This will overwrite any existing records present in the field.
Alternatively, you can use the Update field value API and specify a single record ID. This will "append" a value to the existing values, without overwriting them.
If you set linkAllVersions
to true
in Create new recordand Select existing record, all of the revisions of the linked record will also be automatically linked.
To link only a specific revision, you can remove that attribute from the payload.
To delete a single value, use the Delete field value API and specify the value to be deleted in the payload.
Use the Update field value API and specify the form template id.
See the above examples on how to fill the different types of fields.
Filling them when they are inside a form is exactly the same, but you will need to specify the formId query parameter when calling any of the APIs.
Use the Delete field value API and specify the form instance ID in the payload.