Forms
List active Job Tables
/a/Forms_listTables
List every active Job Table form as an integer ID and name.
When to use this endpoint
Use this for Job Table reporting selectors. Use Forms_getTablesByIds when tables must be restricted to those linked from particular parent forms.
Authentication and permissions
The request must authenticate with signed API-key fields or a logged-in CRM session and is scoped to the authenticated tenant.
The handler performs no form, department, owner, or page-permission check unless the page below says otherwise. CRM navigation may impose additional UI-only access rules.
Parameters
This endpoint has no operation-specific parameters.
Example request
$tables = FM_api('Forms_listTables');
Example response
[{"id":2088,"name":"Parts used"},{"id":2091,"name":"Readings"}]
Errors and unusual responses
| Response | Condition |
|---|---|
{"error":"not logged in"} | No authenticated tenant context is available. Invalid signed credentials can be rejected by the dispatcher before the handler runs. |
Legacy application errors may be returned with HTTP 200. Check the decoded response for error, not only the HTTP status.
Behaviour and edge cases
- Only type
3rows witharchived=0are returned. - Rows are ordered by name and are not paginated.
- Unlike most raw form lookups, IDs are explicitly converted to JSON numbers.
See it in Fieldmotion
CRM1
The Report Table Data page uses this list for its table-form selector.
CRM2
The corresponding reporting page uses the same endpoint.
Related endpoints
Forms_getTablesByIdsfollows parent-form links.Forms_listcan list other form types.