โ Approve Resolution Proposal
Endpoint: POST /api/admin/complaints/{id}/approve/
Auth Required: โ
Yes (Admin Bearer Token)
Content-Type: application/json
๐ Description
This endpoint allows an administrator to approve the resolution proposal submitted by the solver after reviewing the inspection report.
Approval authorizes the solver to proceed with execution and monitoring of the complaint resolution.
Only complaints with a submitted inspection report are eligible for approval.
๐ Authentication
Include the admin access token in the request header:
๐ Path Parameter
| Parameter | Type | Required | Description |
|---|---|---|---|
id |
UUID | โ | Unique complaint ID |
๐งพ Request Body (Optional)
```json { "approval_remarks": "Budget and timeline approved. Proceed with resolution." }