Adds a comment to a ticket
Adds a comment to a ticket. The comment is always recorded as coming from the API — the caller cannot post as a specific user, and To and Cc are taken from the conversation rather than the request.
授权
Your Gorelo API key. See Generate API key. If your data is hosted in Australia, click the base URL at the top of this page and select https://api.aue.gorelo.io.
路径参数
Ticket identifier.
请求体
Comment details.
1 Public, 2 Private, 3 Side Conversation, 4 Approval.
Comment body as HTML. Mentions go inside the HTML. A literal < or > in the text must be sent as
< / >.
1Identifier of the conversation to post into. Required for Side Conversation and Approval, and rejected for Public and Private, which are the ticket's main thread.
Display name to show the comment as. The comment is still recorded as API-authored — a
name cannot be used to post as a specific real user. Omitted or blank, it is recorded as API.
Backdate the comment's timestamp — for importing ticket history from another system. Must not be in the future or earlier than the ticket's own CreatedOn. Omit to use the current time.
When supplied, the ticket's UpdatedOn becomes the later of its current value and this timestamp, so importing older history does not push the ticket to the top of an updatedOn-sorted list.
Send only when importing history. A record with this field set sends no emails or notifications.
Files to attach, as returned by the attachment upload endpoint.
响应
OK
100, 101, 102, 103, 200, 201, 202, 203, 204, 205, 206, 207, 208, 226, 300, 301, 302, 303, 304, 305, 306, 307, 308, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 421, 422, 423, 424, 426, 428, 429, 431, 451, 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, 511 null