getCommentForRequest

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

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

JSMComment[]

Example

return getCommentForRequest("SM-1", 10072);

Returns a list of JSMComment structures.

See also

Need support? Create a request with our support team.

Copyright © 2005 - 2026 Appfire | All rights reserved.