Search Proposal Comments

GET/api/proposal-comments/search/{keyword}

Headers

FieldTypeDescription
authtoken String Authentication token, generated from admin area

Parameters

FieldTypeDescription
keyword String Search keywords, matched against the comment text
curl -X GET "https://yoursite.com/api/proposal-comments/search/acme" \
  -H "authtoken: YOUR_API_TOKEN"

Success-Response:

[
  {
    "id": "1",
    "description": "Comment text"
  }
]

Error-Response:

HTTP/1.1 404 Not Found
{ "status": false, "messages": { "error": "No data were found" } }
MethodGET
Path/api/proposal-comments/search/{keyword}
GroupProposal Comments
Sincev1.0.0
Defined inRestApi/Controllers/ProposalCommentsController.php