2026-10-23 12.00 UTC - There are currently no active events. All systems operational.

Apply accepted CCTV comparison fields to a sewer duct

Prev Next
Post
/tv-inspection/apply-duct-diff/

Applies only the user-accepted Mode B comparison fields to the physical sewer duct linked to the TV inspection. For pipe shape, material, and dimension, values are read from tv_observation_id when given (any of the inspection's observations except one disabled from update). Without it they come from the observation with the lowest distance that has dk_duct_dimension populated, passing over ones a user skipped (reviewed) or disabled. The endpoint switches the duct to an existing matching duct type; it never changes a shared duct type record.

When those values change the duct, the observation they came from is recorded with review state updated, in the same transaction as the write. An observation whose values the duct already had is not recorded.

Security
API Key: Token
Header parameter nameAuthorization

Token issued for API consumer.

Body parameters
object
accepted_fields
Array of string Required
Min items1
string
Valid values[ "structural_cond", "leak_cond", "duct_length", "dk_duct_form", "dk_material", "dk_duct_dimension" ]
tv_inspection_id
integer Required
tv_observation_id
integer

Observation to read pipe shape, material and dimension from. Defaults to the first eligible one along the duct.

Responses
200

The duct type reference was updated.

400

The link, accepted fields, or matching duct type is invalid.

403

The user lacks permission to modify the duct.

404

The inspection or linked duct does not exist.