Update Proposal Comment

PUT/api/proposal-comments/{id}

Headers

FieldTypeDescription
authtoken String Authentication token, generated from admin area

Parameters

FieldTypeDescription
id Number Proposal comment unique ID
description string optional Optional Comment content to update
curl -X PUT "https://yoursite.com/api/proposal-comments/123" \
  -H "authtoken: YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "field": "value" }'

Success-Response:

HTTP/1.1 200 OK
{
  "status": 200,
  "messages": {"success": "Comment updated successfully."}
}

Error-Response:

HTTP/1.1 404 Not Found
{ "status": false, "messages": { "error": "Invalid comment ID." } }
MethodPUT
Path/api/proposal-comments/{id}
GroupProposal Comments
Sincev1.0.0
Defined inRestApi/Controllers/ProposalCommentsController.php