Create Transaction Comment URL Attachment
Creates a URL attachment for a transaction comment.
REST Resource
POST /arm/rest/rc/v1/transactions/{transactionId}/comments/{commentId}/attachments
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-170 Create Transaction Comment URL Attachment Request Parameters
| Name | Description | Type | Required |
|---|---|---|---|
transactionID |
Unique transaction identifier. | Path | Yes |
commentId |
Unique transaction comment identifier. | Path | Yes |
type |
Attachment type. Must be URL.
|
Payload | Yes |
name |
Attachment display name. | Payload | Yes |
url |
Attachment URL | Payload | Yes |
Example request:
POST /arm/rest/rc/v1/transactions/100000006161313/comments/9001/attachments
Example of a request body:
{
"type": "URL",
"name": "Comment reference",
"url": "https://example.com/comment-reference"
}
Response
The following table summarizes the response parameters. Some fields apply only to URL attachments or file attachments.
Table 4-171 Create Transaction Comment URL Attachment Response Parameters
| Name | Description |
|---|---|
attachmentId |
Attachment identifier. |
displayName |
Attachment display name. |
type |
Attachment type: URL.
|
url |
URL for URL attachments |
creatorId |
Creator identifier. |
creatorName |
Creator display name. |
createdDate |
Creation timestamp. |
Supported Media Types: application/json
Example of a response body:
{
"attachmentId": 9401,
"displayName": "Comment reference",
"type": "URL",
"url": "https://example.com/comment-reference",
"creatorId": "jsmith",
"creatorName": "John Smith",
"createdDate": 1686767400000
}