Update Transaction Comments

Updates a comment for a transaction

REST Resource

PATCH /arm/rest/rc/v1/transactions/{transactionId}/comments/{commentId}

Required Roles

User with access to the reconciliation and permission to edit or delete the comment

Request

Supported Media Types: application/json

The following table summarizes the client request parameters specific to this API.

Table 4-163 Update Transaction Comments Request Parameters

Name Description Type Required
transactionID Unique transaction identifier Path Yes
commentId Unique comment identifier Path Yes
commentText Updated comment text Payload Yes

Example request:

PATCH /arm/rest/rc/v1/transactions/100000006161313/comments/9001

Example of request body:

{
    "commentText": "Revised transaction explanation."
}

Response

Supported Media Types: application/json

The following table summarizes the response parameters.

Table 4-164 Update Transaction Comments Response Parameters

Name Description
commentID Comment identifier.
objectID Parent object identifier.
commentText Comment text.
textType Text type.
systemComment Indicates whether the comment is system-generated.
ownerId Owner identifier.
ownerName Owner display name.
creatorRole Creator role.
creationDate Creation timestamp.
canDelete Indicates whether the current user can delete the comment.
canEdit Indicates whether the current user can edit the comment.

Example of response body:

{
    "commentId": 9001,
    "objectId": 100000006161313,
    "commentText": "Revised transaction explanation.",
    "systemComment": false,
    "ownerId": "jsmith",
    "ownerName": "John Smith",
    "creatorRole": "Preparer",
    "creationDate": 1686767400000,
    "canDelete": true,
    "canEdit": true
}