Add a comment to a record
servicetrade_add_commentWRITE: add a new comment to a job, asset, invoice, quote, deficiency or location. Each call creates one more comment (not idempotent: do not retry blindly). ServiceTrade API: POST /comment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | The comment text. | |
| entityId | Yes | The record id. | |
| entityType | Yes | The kind of record to comment on. | |
| visibility | No | Who can see it (default: ServiceTrade default). Assets accept only public and tech. |