Create Transaction URL Attachment

Creates a URL attachment for a transaction.

REST Resource

POST /arm/rest/rc/v1/transactions/{transactionId}/attachments

Required Roles

  • Service Administrator
  • Power User with access to the reconciliation
  • User with Preparer access to the reconciliation

Additional access requirements:

The reconciliation must be available for update. If work is assigned to a team, the user may need to claim it first.

Request

Supported Media Types: application/json

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

Table 4-178 Create Transaction URL Attachment Request Parameters

Name Description Type Required
transactionId Unique transaction identifier. Path Yes
type Attachment type. Must be URL. Payload Yes
name Attachment display name. Payload Yes
url Attachment URL Payload Yes

Example request:

Creates a URL attachment for a transaction.

Example of a request body:

{
    "type": "URL",
    "name": "Supporting document",
    "url": "https://example.com/supporting-document"
}

Response

The following table summarizes the response parameters.

Table 4-179 Create Transaction 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": 9101,
    "displayName": "Supporting document",
    "type": "URL",
    "url": "https://example.com/supporting-document",
    "creatorId": "jsmith",
    "creatorName": "John Smith",
    "createdDate": 1686767400000
}