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.
Token issued for API consumer.
Observation to read pipe shape, material and dimension from. Defaults to the first eligible one along the duct.
The duct type reference was updated.
The link, accepted fields, or matching duct type is invalid.
The user lacks permission to modify the duct.
The inspection or linked duct does not exist.