Update an existing record
PATCH/api/v1/orgs/:orgID/datasets/:datasetID/records/:recordID
Update an existing record in a specific dataset for an organization.
Partial Updates: This endpoint supports partial updates. Only include the fields you want to update in the request body. Fields not included in the request will retain their current values.
Data Field Structure:
The data field is a map where keys are field IDs and values depend on field type:
Supported Field Types:
- text - Single or multi-line text input
- number - Numeric values (integers, decimals)
- date - Date only (YYYY-MM-DD format)
- datetime - Date and time (ISO 8601 format)
- select - Single choice dropdown
- multiselect - Multiple choice selection
- progress-tracker - Workflow states with progression tracking
- relationship - Links to other records in the system
- event-markers - Track phases of a live event
Notes:
- Progress tracker
statesare optional. You can provide justcurrentStateIdand the system will auto-populate timestamps, or provide explicitstateswith custom timestamps.
Example Data Field Updates:
{
"field_text": "Updated text",
"field_number": 99.5,
"field_date": "2024-02-20",
"field_datetime": "2024-02-20T15:45:00Z",
"field_select": "option_456",
"field_multiselect": ["option_3", "option_4"],
"field_progress_simple": {"currentStateId": "completed"},
"field_progress_detailed": {"currentStateId": "completed", "states": {"completed": {"startTime": "2024-02-20T15:45:00Z"}}},
"field_relationship": [{"relatedRecordId": "record_789"}],
"field_events": {"markers": [{"id": "event_2", "label": "Phase completed"}]}
}
Request
Responses
- 200
- 400
- 401
- 404
- 500
Record updated successfully
Bad request - Invalid request body or validation error
Unauthorized - User does not have permission to update records
Record not found
Internal server error