Request

Response

    Forms API Migration Guide (2026 April Release)

    The ACC Forms API Migration Guide was created for developers who are migrating from Forms API v1 to v2. It outlines the changes developers need to make to their code.

    Important

    The v1 GET forms and PUT values:batch-update endpoints are deprecated and will be retired on June 30, 2027. Migrate to GET forms v2 and PUT values:batch-update v2 before that date.

    General Changes

    1. Changes to URIs (v1 to v2).
    2. Some query parameters have been added, removed, or replaced.
    3. Response structure has been significantly reorganized with the introduction of the nativeForm object.
    4. The formTemplate object has been replaced with formTemplateId reference.
    5. Weather data is no longer included in the response (only weatherId is provided). Use the new GET weather endpoint to retrieve weather details.
    6. Values that v1 returned as part of the GET forms response are now retrieved through dedicated GET custom values, GET table values, and GET PDF values endpoints in v2.
    7. Custom tables now require columnId (UUID) to identify columns—columnName is only supported for built-in tables.
    8. Form status values have changed to align with the UI. See Status Changes for the full mapping.

    New Features

    New features for v2 include:

    1. Custom Table Support: The v2 API supports custom tables in addition to the built-in tables (worklogEntries, materialsEntries, equipmentEntries). See Working with Custom Tables for details.
    2. Enhanced Filtering and Sorting: New sort parameter replaces sortBy/sortOrder with support for multi-field sorting. New search parameter for text search.
    3. Granular Data Inclusion: The include parameter allows you to selectively include additional data like layoutInformation, sublocations, and inactiveFormTemplates.
    4. Native Form Structure: The nativeForm object provides a more structured representation of form data with layout information and detailed column metadata.
    5. Sublocation Support: New includeSubLocations parameter to include forms from sublocations.
    6. Batch Update Options: New query parameters excludeFormResponse and includeNativeFormValues for controlling response data.
    7. Batch Delete Endpoint: New POST values:batch-delete endpoint for deleting table rows from both native and custom tables.
    8. Dedicated Table Values Endpoint: New GET table values endpoint for retrieving values from a specific table with pagination support.
    9. Weather Data Endpoint: New v3 endpoint to retrieve weather details using the weatherId from forms. See Weather Data for details.

    The following tables show the specific changes for each endpoint:

    GET Forms

    categoryForms V1Forms V2Comments
    Method and URI GET /construction/forms/v1/projects/{projectId}/forms GET /construction/forms/v2/projects/{projectId}/forms Replaced
    Query String Parameter sortBy sort Replaced - v2 supports multi-field sorting with direction
    Query String Parameter sortOrder Deleted - merged into sort parameter
    Query String Parameter search New - search for forms containing exact text match
    Query String Parameter includeSubLocations New - include forms from sublocations
    Query String Parameter include New - selectively include additional data (nativeValues/tableMetadata/layoutInfo/sublocations/inactiveFormTemplates)
    Query String Parameter includeInactiveFormTemplates Deleted - replaced by include parameter
    Query String Parameter updatedAfter updatedAfter Behavior changed - v2 uses ‘at or after’ instead of ‘after’
    Query String Parameter updatedBefore updatedBefore Behavior changed - v2 uses ‘at or before’ instead of ‘before’
    Attribute (response) data.status (draft/in_review/submitted/discarded/archived) data.status (inProgress/inReview/closed/discarded/archived) Changed - status values updated to match UI labels
    Attribute (response) data.formTemplate Deleted - replaced with formTemplateId
    Attribute (response) data.formTemplateId New - UUID reference to template
    Attribute (response) data.projectId Deleted - project ID is in the URI
    Attribute (response) data.dueDate New - date the form is due
    Attribute (response) data.updatedBy New - user ID that last updated the form
    Attribute (response) data.weatherId New - unique identifier of weather associated with form
    Attribute (response) data.lastSubmittedBy New - user ID that last submitted the form
    Attribute (response) data.lastSubmittedAt New - timestamp when form was last submitted
    Attribute (response) data.weather Deleted - only weatherId is provided in v2
    Attribute (response) data.pdfUrl Deleted - replaced with pdfFile object
    Attribute (response) data.pdfFile New - object containing PDF file information (id/fileName/pdfUrl)
    Attribute (response) data.tabularValues Deleted - moved into nativeForm object
    Attribute (response) data.customValues Deleted - moved into nativeForm object
    Attribute (response) data.nativeForm New - contains layout info and form values
    Attribute (response) data.nativeForm.id New - unique identifier of native form
    Attribute (response) data.nativeForm.layoutId New - unique identifier of layout
    Attribute (response) data.nativeForm.version New - version of native form
    Attribute (response) data.nativeForm.layoutInfo New - layout metadata (uid/type/description/hasSectionAssignees)
    Attribute (response) data.nativeForm.tabularValues New - array of table rows with enhanced metadata
    Attribute (response) data.nativeForm.tabularValues.table New - built-in table identifier (optional)
    Attribute (response) data.nativeForm.tabularValues.schema New - table identifier (built-in alias or UUID for custom tables)
    Attribute (response) data.nativeForm.tabularValues.rank New - sort order in table
    Attribute (response) data.nativeForm.tabularValues.columns New - array of column values with detailed metadata
    Attribute (response) data.nativeForm.tabularValues.columns.formValueId New - unique identifier for form value
    Attribute (response) data.nativeForm.tabularValues.columns.columnId New - unique identifier for column
    Attribute (response) data.nativeForm.tabularValues.columns.columnName New - name of the column
    Attribute (response) data.nativeForm.tabularValues.updatedAt New - timestamp when row was last updated
    Attribute (response) data.nativeForm.tabularValues.updatedBy New - user ID that last updated the row
    Attribute (response) data.nativeForm.customValues New - array of custom form values (non-tabular)
    Attribute (response) data.lastFetchedAt New - timestamp when form was retrieved from API

    Status Changes

    The v2 API uses updated status values that are consistent with the Forms UI. If your integration filters or displays form statuses, you will need to update your code to use the new values.

    v1 Statusv2 StatusUI Label
    draft inProgress In Progress
    in_review inReview In Review
    submitted closed Closed
    discarded discarded Discarded
    archived archived Archived

    Note: The status query parameter on GET forms also uses the v2 values. For example, to filter for draft forms in v2, use status=inProgress instead of status=draft.

    PUT values:batch-update

    categoryForms V1Forms V2Comments
    Method and URI PUT /construction/forms/v1/projects/{projectId}/forms/{formId}/values:batch-update PUT /construction/forms/v2/projects/{projectId}/forms/{formId}/values:batch-update Replaced
    Query String Parameter excludeFormResponse New - exclude updated form in response (returns 204)
    Query String Parameter includeNativeFormValues New - include form values in response
    Attribute (request) tabularValues.table tabularValues.schema Replaced - schema supports custom tables
    Attribute (request) tabularValues.id tabularValues.id Note: v2 requires UUID to be generated for new rows
    Attribute (request) tabularValues.columns.columnName tabularValues.columns.columnId Note: custom tables require columnId (UUID); columnName only works for built-in tables
    HTTP Status Code 204 No Content New - returned when excludeFormResponse is true
    Attribute (response) formTemplate Deleted - replaced with formTemplateId
    Attribute (response) formTemplateId New - UUID reference to template
    Attribute (response) projectId Deleted - project ID is in the URI
    Attribute (response) dueDate New - date the form is due
    Attribute (response) updatedBy New - user ID that last updated the form
    Attribute (response) weatherId New - unique identifier of weather associated with form
    Attribute (response) lastSubmittedBy New - user ID that last submitted the form
    Attribute (response) lastSubmittedAt New - timestamp when form was last submitted
    Attribute (response) weather Deleted - only weatherId is provided in v2
    Attribute (response) pdfUrl Deleted - replaced with pdfFile object
    Attribute (response) pdfFile New - object containing PDF file information (id/fileName/pdfUrl)
    Attribute (response) tabularValues Deleted - moved into nativeForm object
    Attribute (response) customValues Deleted - moved into nativeForm object
    Attribute (response) nativeForm New - contains layout info and form values
    Attribute (response) nativeForm.id New - unique identifier of native form
    Attribute (response) nativeForm.layoutId New - unique identifier of layout
    Attribute (response) nativeForm.version New - version of native form
    Attribute (response) nativeForm.layoutInfo New - layout metadata (uid/type/description/hasSectionAssignees)
    Attribute (response) nativeForm.tabularValues New - array of table rows with enhanced metadata
    Attribute (response) nativeForm.tabularValues.table New - built-in table identifier (optional)
    Attribute (response) nativeForm.tabularValues.schema New - table identifier (built-in alias or UUID for custom tables)
    Attribute (response) nativeForm.tabularValues.rank New - sort order in table
    Attribute (response) nativeForm.tabularValues.columns New - array of column values with detailed metadata
    Attribute (response) nativeForm.tabularValues.columns.formValueId New - unique identifier for form value
    Attribute (response) nativeForm.tabularValues.columns.columnId New - unique identifier for column
    Attribute (response) nativeForm.tabularValues.columns.columnName New - name of the column
    Attribute (response) nativeForm.tabularValues.updatedAt New - timestamp when row was last updated
    Attribute (response) nativeForm.tabularValues.updatedBy New - user ID that last updated the row
    Attribute (response) nativeForm.customValues New - array of custom form values (non-tabular)
    Attribute (response) lastFetchedAt New - timestamp when form was retrieved from API

    Working with Custom Tables

    One of the key enhancements in v2 is support for custom tables. In v1, you could only work with the three built-in tables (worklogEntries, materialsEntries, equipmentEntries). In v2, you can work with any custom table defined in your form template.

    Request Changes for Custom Tables

    In v1, you specified the table using the table field with one of the built-in aliases:

    {
      "tabularValues": [
        {
          "id": "cb95aceb-187a-3a8f-2e5f-502a555c03d5",
          "table": "worklogEntries",
          "columns": [...]
        }
      ]
    }
    
    Show More

    In v2, you use the schema field, which accepts both built-in aliases and custom table identifiers (UUIDs):

    {
      "tabularValues": [
        {
          "id": "cb95aceb-187a-3a8f-2e5f-502a555c03d5",
          "schema": "worklogEntries",
          "columns": [...]
        },
        {
          "id": "2f7e534d-d084-594b-8aa6-147cb8fbc060",
          "schema": "ec7b2dea-9383-49d4-b22d-52e04659e28b",
          "columns": [...]
        }
      ]
    }
    
    Show More

    Column Identification

    Built-in tables (worklogEntries, materialsEntries, equipmentEntries) support both columnName and columnId to identify columns:

    {
      "columns": [
        {
          "columnName": "trade",
          "textVal": "Electricians"
        }
      ]
    }
    
    Show More

    Custom tables require columnId (UUID)—columnName is not supported:

    {
      "columns": [
        {
          "columnId": "e5c8eg5d-35f9-694i-87h7-90ga7fa5j396",
          "textVal": "Excavator #12"
        }
      ]
    }
    
    Show More

    To find the column UUIDs for custom tables, use GET sections to retrieve the table’s column definitions. For a complete workflow, see the Work with Form Layouts and Custom Tables tutorial.

    Response Changes for Custom Tables

    In v1, tabular data was returned at the top level with built-in table names:

    {
      "tabularValues": {
        "worklogEntries": [...],
        "materialsEntries": [...],
        "equipmentEntries": [...]
      }
    }
    

    In v2, use GET table values to retrieve rows from each built-in or custom table. Each row is identified by its id, and each table is identified by its schema UUID, returned in both schema and fieldId. Rows also include metadata such as rank, deleted, updatedAt, and updatedBy. See the API reference for response details.

    Use GET forms v2 first to locate the form ID and related metadata, then choose the dedicated retrieval endpoint that matches the values you need.

    Retrieving Custom Values

    Use GET custom values to retrieve persisted non-tabular web-form values:

    GET /construction/forms/v2/projects/{projectId}/forms/{formId}/values?limit=10&offset=0
    

    Only persisted values are returned; unanswered layout questions are not included. Note that values with deleted: true are included in the response and should be filtered out by the application. See the API reference for response details.

    Retrieving Custom Table Values

    Use GET table values to retrieve rows from a built-in or custom table:

    GET /construction/forms/v1/projects/{projectId}/forms/{formId}/table/{fieldId}/values?limit=10&offset=0
    

    The fieldId path parameter identifies the table whose rows you want to retrieve. For built-in tables, use these UUIDs:

    • Work Log: 6c8055d5-1301-46f6-9d18-8a2a208a277e
    • Materials: 2adf5ad9-d9d3-ee42-6fd8-015c34ce474d
    • Equipment: 8af6c450-dd2a-32ae-0090-5493a9cc884e

    For a custom table, set fieldId to the table schema UUID from the form’s layout definition. Start with the form’s layoutId, use GET layout to find the section that contains the table, then use GET sections and look for the item in sectionItems[] whose type is table; its schema value is the fieldId.

    The response includes each row’s id plus both schema (for backwards compatibility) and fieldId with the same table schema UUID value. See the API reference for response details.

    Retrieving PDF Values

    Use GET PDF values to retrieve PDF form fields when the form has an associated PDF:

    GET /construction/forms/v2/projects/{projectId}/forms/{formId}/pdf-values?limit=10&offset=0
    

    This endpoint applies only to PDF forms. Signature fields are not extracted and therefore do not appear in the response. See the API reference for response details.

    Understanding nativeForm

    The v2 API introduces the nativeForm object, which provides a more structured representation of form data:

    Layout Information

    The nativeForm.layoutInfo object provides metadata about the form’s layout:

    {
      "nativeForm": {
        "layoutInfo": {
          "uid": "7e8f9a0b-1c2d-3e4f-5a6b-7c8d9e0f1a2b",
          "type": "form",
          "description": "Daily Report Template",
          "hasSectionAssignees": false
        }
      }
    }
    
    Show More

    Tabular Values

    In v2, tabular values include additional metadata:

    • updatedAt: Timestamp when the row was last updated
    • updatedBy: User ID who last updated the row
    • rank: Sort order of the row in the table
    • columns: Array of column values with detailed metadata including formValueId, columnId, and columnName

    Custom Values

    See Retrieving Custom Values for the dedicated request flow for persisted non-tabular web-form values.

    Using the include Parameter

    The v2 GET Forms endpoint supports an include parameter that allows you to selectively include additional data in the response:

    • layoutInfo: Include detailed layout information
    • sublocations: Include sublocation data
    • inactiveFormTemplates: Include forms created from inactive templates

    Example:

    GET /construction/forms/v2/projects/{projectId}/forms?include=layoutInfo
    

    By default, if the include parameter is not specified, the response will not include optional nested nativeForm data. This allows you to optimize response size when you only need form metadata.

    Deleting Table Values

    Use the POST values:batch-delete endpoint to delete rows from both native and custom tables:

    POST /construction/forms/v2/projects/{projectId}/forms/{formId}/values:batch-delete
    

    Request body:

    {
      "tabularValues": [
        {
          "id": "row-uuid-to-delete",
          "schema": "worklogEntries"
        },
        {
          "id": "custom-row-uuid",
          "schema": "ec7b2dea-9383-49d4-b22d-52e04659e28b"
        }
      ]
    }
    
    Show More

    Optional query parameters:

    • excludeFormResponse=true: Returns HTTP 204 with no body (faster for bulk operations)
    • includeNativeFormValues=true: Includes the full native form values in the response

    Weather Data

    To retrieve full weather details using the weatherId from forms, use the GET weather endpoint:

    GET /construction/forms/v3/projects/{projectId}/weather/{weatherId}
    

    The response includes:

    • Daily summary (summaryKey, precipitationType, precipitationAccumulation)
    • Hourly observations (typically at 07:00, 12:00, and 16:00 local time) with temperature, wind speed, wind direction, and humidity

    Note: Weather values are returned in metric units (Celsius, km/h, mm).