---
title: "Add Comment And Resolve Row"
method: POST
path: "/api/patrol-reports/comments/resolve-row"
tags: ["Patrol Reports"]
---

# Add Comment And Resolve Row

`POST /api/patrol-reports/comments/resolve-row`

## Request

- Base URL: `https://api.avete.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.avete.ai/api/patrol-reports/comments/resolve-row`
- Auth: HTTP bearer

Combined "Add Comment and Mark Resolved" action for a single patrol
report finding row: saves the inspector's comment AND resolves every
currently-open guideline in that row, in ONE request/one DB transaction —
instead of 1 comment POST + N /images/resolve POSTs.

## Request body

- AddCommentAndResolveRequest
  - `image_id` integer, required
  - `guideline_id` integer, nullable
  - `comment_text` string, required
  - `guideline_ids` integer[]
  - `source_image_ids` integer[]
  - `patrol_report_id` integer, nullable
  - `updated_by` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/avete/apis/fastcognito.md) - [All operations](https://skmtc.dev/avete/apis/fastcognito/llms.txt) - [OpenAPI document](https://skmtc.dev/avete/apis/fastcognito/revisions/2c3bbf575ddb?raw)
