Create Transaction Comments
Creates a comment for a transaction.
REST Resource
POST /arm/rest/rc/v1/transactions/{transactionId}/comments
Required Roles
- Service Administrator
- Power User with access to the reconciliation
- User assigned as Preparer, Reviewer, or Commentator
Additional access requirements:
The user must be allowed to add comments for the current reconciliation status.
Request
Supported Media Types: application/json
The following table summarizes the client request parameters specific to this API.
Table 4-161 Create Transaction Comments Request Parameters
| Name | Description | Type | Required |
|---|---|---|---|
transactionID |
Unique transaction identifier | Path | Yes |
commentText |
Comment text. | Payload | Yes |
references |
Array of URL reference definitions supplied with the comment. | Payload | No |
Example request
POST /arm/rest/rc/v1/transactions/100000006161313/comments
Example of request body
{
"commentText": "Updated transaction explanation.",
"references": [
{
"type": "URL",
"name": "Supporting document",
"url": "https://example.com/supporting-document"
}
]
}
Response
Supported Media Types: application/json
The following table summarizes the response parameters.
Table 4-162 Create 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": "Updated transaction explanation.",
"systemComment": false,
"ownerId": "jsmith",
"ownerName": "John Smith",
"creatorRole": "Preparer",
"creationDate": 1686767400000,
"canDelete": true,
"canEdit": true
}