Get a record
▾
POST
/api/v4/records/getReturns one record by its id.
- Auth
X-API-Key- Counts as
- 1 request
- Idempotency
- not supported
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). idintegerrequired- Minimum 1.
fieldsarray of stringoptional- Return only these fields (id always comes back)
Returns
HTTP 200. The record.
successbooleanoptional- —
dataobjectoptional- A record.
idis 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.
File fields contain references in v4. Read fileExtension as returned.
Errors
| HTTP | Code | What to do |
|---|---|---|
| 400 | MISSING_REQUIRED_FIELD | Send the required body fields. |
| 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. |
| 404 | NOT_FOUND | Check the record id. |
| 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. |