v1

latestOpenAPI 3.1.02026-07-263911,4691.1 MB
Inspections

Generate a dynamic field (repeated section)

This endpoint is used to generate new dynamic field elements (a.k.a. repeated sections) under the specified dynamic field. The generated element and its items will be empty.

post/inspections/v1/inspections/{inspection_id}/questions/{question_id}/dynamicfield

Path parameters

inspection_idstring required

The unique identifier for the inspection.

question_idstring required

The unique identifier for the question.

Request body

parent_idstring

The unique identifier of the item of type dynamicField. It is the parent of the element we are creating.

Response

A successful response.

inspection_idstring

The ID of the inspection

calculated_valuesobject

Map of calculation item ids to their results that have been evaluated as a result of generating this dynamic field, if any. Use this to see results or to update your local structure of the inspection document without the need to refetch the entire inspection.

idsobject

Map of item_id which is part of primary element tree to item_id of the newly created element. Use this map to either answer the questions within dynamic fields or update you local structure of the inspection document without the need to refetch the entire inspection.