Update Reconciliation Comment

Updates the text of the specified comment in a reconciliation.

REST Resource

PATCH /arm/rest/rc/v1/reconciliations/{reconciliationId}/comments/{commentId}

Required Roles

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

Note that permission depends on the individual comment and reconciliation status.

Request

Supported Media Types: application/json

Table 4-66 Reconciliation Comment Request Parameters

Name Type Description Required
reconciliationID Path ID of the reconciliation Yes
commentId Path ID of the comment, within the reconciliation, that must be updated Yes
commentText Body Updated comment text. This property is required and must not be blank. Yes

Example Request

PATCH /arm/rest/rc/v1/reconciliations/100000004828309/comments/9001

Only comment text can be updated. Non-null references values, including an empty array, are rejected.

{
  "commentText": "Updated comment."
}

Response

Supported Media Types: application/json

Table 4-67 Reconciliation Comment Response Parameters

Name Description
commentID ID of the comment
objectId Object ID
commentText Comment text
textType Type of comment
systemComment Whether this is a system comment
ownerId ID of the comment owner
ownerName Name of the comment owner
creatorRole Native role code of the comment creator, such as P (Preparer), A (Administrator), or R1 (Reviewer Level 1).
creationDate Date the comment was created
canDelete Whether the comment can be deleted
canEdit Whether the comment can be edited

Example Response

The following is an example of the response body in JSON format.

{
  "commentId": 9001,
  "objectId": 100000004828309,
  "commentText": "Updated comment.",
  "textType": "TEXT",
  "systemComment": false,
  "ownerId": "jsmith",
  "ownerName": "John Smith",
  "creatorRole": "P",
  "creationDate": "<timestamp>",
  "canDelete": true,
  "canEdit": true
}