Beezr API
POST/api/v1/records/update

Changes only the fields you send. Returns the record as it is after the update. Send an Idempotency-Key to make retries safe.

If the re-read fails, the result contains only the record id.

Auth
X-API-Key
Counts as
1 request
Idempotency
supported
Files
up to 10 MB each

Headers

X-API-Keystringrequired
Read from your server environment.
Content-Typestringrequired
application/json.
Idempotency-Keystringoptional
1 to 128 visible ASCII characters. Repeat the same request with the same key and Beezr returns the first result instead of running it again (header Idempotency-Replayed: true).

Body parameters

modulestringrequired
The module's table name, shown under the module name on its card in Beezr Designer (for example cm_equipment_requests_base).
idintegerrequired
Minimum 1.
dataobjectrequired
Field values keyed by each field's System name (Designer → module → Fields). Lookup, relation and user fields take the id of the chosen item. File fields take a FileUpload object (or an array for multi-file fields). Fields not in the module are ignored.
data.<file-field>.fileNamestringrequired
—
data.<file-field>.contentTypestringoptional
Informational
data.<file-field>.datastringrequired
Base64 file bytes

Returns

HTTP 200. Updated. data is the record after the update.

successbooleanoptional
—
dataobjectoptional
A record. id is the record id; every other property is a field keyed by its System name.
data.idintegeroptional
—

Field values come back in the same form the Designer shows them.

Errors

HTTPCodeWhat to do
400MISSING_REQUIRED_FIELDSend the required body fields.
400INVALID_DATACheck field System names.
400INVALID_IDEMPOTENCY_KEYSend one visible ASCII key, 1–128 characters.
400KEY_FIELD_UNRESOLVEDCheck the module key field.
401AUTHENTICATION_FAILEDCheck the API key.
404MODULE_NOT_FOUNDCopy the module table name.
409IDEMPOTENCY_KEY_REUSEDKeep the original body.
409IDEMPOTENCY_IN_PROGRESSWait Retry-After: 2.
409IDEMPOTENCY_RESULT_UNKNOWNReconcile before new work.
400INVALID_CONTENT_PAYLOADSend a file object with fileName and data.
400CONTENT_DECODE_FAILEDSend valid base64 in data.
400 · 413CONTENT_TOO_LARGEKeep files within 10 MB.
429RATE_LIMIT_EXCEEDEDWait for the rate-limit reset.
429TOO_MANY_CONCURRENT_REQUESTSWait; keep at most 2 in flight.
429MONTHLY_QUOTA_EXCEEDEDStop retries until the 1st.
409 · 422 · 500UPDATE_FAILED409 duplicate key · 422 rule or plan limit, fix the data · 500 retry once.
500FIELD_LOAD_FAILEDRetry later.
500INTERNAL_ERRORRetry later.