getCommentForRequest
Syntax | getCommentForRequest(requestId_or_Key, commentId) | Package |
|
Alias |
| Pkg Usage |
|
Description
Returns a comment structure with extra information (attachments and renderedBody), those are not get when using getCommentsForRequest
Parameters
Parameter name | Type | Required | Description |
|---|---|---|---|
requestId_or_Key | String | Yes | The ID or Key of the customer request for which the comment will be retrieved |
commentId | Integer | Yes | The ID of the comment to be re returned |
Return Type
Example
return getCommentForRequest("SM-1", 10072);Returns a list of JSMComment structures.