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

Apply accepted CCTV inspection comparison fields in a batch

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

Applies caller-selected comparison fields to up to 1,000 linked sewer ducts. Each inspection is processed independently. Entries without selected fields, a confirmed sewer-duct link, or effective field changes are skipped. Per-record validation and permission errors are reported without aborting the remaining entries.

Observations are recorded as updated per written duct field, in the same transaction as the write: an observation is recorded when the duct keeps at least one value it wrote. When two inspections of one duct write the same field, only the later one's value survives, so only that observation is recorded. When one writes the profile and another the duct type, the duct keeps both, so both are recorded.

Security
API Key: Token
Header parameter nameAuthorization

Token issued for API consumer.

Body parameters
Expand All
object
inspections
Array of object Required
Min items1
Max items1000
object
accepted_fields
Array of string Required
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, as in the single apply.

Responses
200

Batch processing completed. Per-record failures are listed in errors.

Expand All
object
errors
Array of object
object
error
string
tv_inspection_id
integer
skipped_count
integer
updated_count
integer
400

The batch request is malformed or exceeds 1,000 entries.

401

Authentication credentials are missing or invalid

{
  "details": "Authentication credentials were not provided"
}
object

Standard error response payload

details
string

Detailed description of error