Create up to 100 records
▾
POST
/api/v1/records/bulk_createCreates each record in order. Items succeed or fail independently; failed items are listed in failures with their index.
- Auth
X-API-Key- Counts as
- 1 request
- Idempotency
- not supported
- Batch limit
- up to 100
Headers
X-API-Keystringrequired- Read from your server environment.
Content-Typestringrequiredapplication/json.
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). dataListarray of objectrequired- 1–100 items.
Returns
HTTP 201. Processed. Check failed and failures.
successbooleanoptional- —
dataobjectoptional- —
data.totalintegeroptional- —
data.createdintegeroptional- —
data.failedintegeroptional- —
data.recordsarray of objectoptional- —
data.records[].idintegeroptional- —
data.failuresarray of objectoptional- —
data.failures[].indexintegeroptional- Position in dataList (bulk create)
data.failures[].idintegeroptional- Record id (bulk update and delete)
data.failures[].dataobjectoptional- —
data.failures[].errorstringoptional- —
Field values come back in the same form the Designer shows them.
Errors
| HTTP | Code | What to do |
|---|---|---|
| 400 | MISSING_REQUIRED_FIELD | Send the required body fields. |
| 400 | INVALID_DATA | Check field System names. |
| 400 | KEY_FIELD_UNRESOLVED | Check the module key field. |
| 401 | AUTHENTICATION_FAILED | Check the API key. |
| 404 | MODULE_NOT_FOUND | Copy the module table name. |
| 413 | PAYLOAD_TOO_LARGE | Send at most 100 items. |
| 429 | RATE_LIMIT_EXCEEDED | Wait for the rate-limit reset. |
| 429 | TOO_MANY_CONCURRENT_REQUESTS | Wait; keep at most 2 in flight. |
| 429 | MONTHLY_QUOTA_EXCEEDED | Stop retries until the 1st. |
| 500 | FIELD_LOAD_FAILED | Retry later. |
| 500 | INTERNAL_ERROR | Retry later. |