Get record field values
safetychain_get_record_fieldsGet the field-level values of records (one entry per record with its fields: name, short name, type, value, unit, compliance, min, max, target, comments, section). Same filters as safetychain_search_records; narrow strongly (a record number or one form and a short date range), each record carries many fields. POST /clientapis/v2.0/getRecordsWithFields (a read).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | End of the date range (default: now). | |
| page | No | Page number, from 1 (default 1). | |
| start | No | Start of the date range, yyyy-mm-dd or yyyy-mm-dd hh:mm:ss. Not together with min_ago. | |
| min_ago | No | Sliding window: records from the last N minutes (1440 = a day). Not together with start. | |
| date_type | No | Which date the range applies to (default submitted). processed = when SafetyChain saved it; modified = last change (includes submitted when never modified); modifiedOnly = only records actually modified. | |
| form_like | No | Form name contains this text (slower than form_name). | |
| form_name | No | Exact form name. | |
| is_signed | No | Only records with a sign-off or validation. | |
| page_rows | No | Records per page (default 20, max 100). | |
| field_names | No | Only these fields, by full field name. | |
| is_verified | No | Only verified (true) records. | |
| location_like | No | Location name contains this text (slower). | |
| location_name | No | Exact location name. | |
| record_number | No | One record number. | |
| resource_like | No | Resource name contains this text (slower). | |
| resource_name | No | Exact resource name (customer, equipment, item or supplier). | |
| identifier_name | No | Identifier field name, for example Lot. Use together with identifier_value. | |
| identifier_value | No | Identifier value that goes with identifier_name. | |
| time_zone_offset | No | Hours from UTC applied to the date filters and the dates returned (default 0). | |
| field_short_names | No | Only these fields, by short name. | |
| record_compliance | No | Only compliant (true) or non-compliant (false) records. Records without compliance rules count as compliant. |