Get Reconciliation Comment Attachment

Returns the details of a specific attachment associated with a reconciliation comment.

REST Resource

GET /arm/rest/rc/v1/reconciliations/{reconciliationId}/comments/{commentId}/attachments/{attachmentId}

Required Roles

You must have one of the following roles or assignments:

  • Service Administrator
  • Power User with security access to the reconciliation
  • Reconciliation Owner
  • User assigned as Preparer, Reviewer, Commentator, or reconciliation Viewer

The user must be authorized to view the reconciliation. Some returned fields or subresources can be limited by their own visibility rules.

Request

This GET operation does not require a request body.

Table 4-74 Request Parameters

Name Type Description Required
reconciliationId Path ID of the reconciliation. Yes
commentId Path ID of the reconciliation comment associated with the attachment. Yes
attachmentId Path ID of the attachment whose details are to be retrieved. Yes

Example URL

GET https://<service-host>/arm/rest/rc/v1/reconciliations/{reconciliationId}/comments/{commentId}/attachments/{attachmentId}

Response

Supported Media Types: application/json

Returns an object containing the details of the specified reconciliation comment attachment.

Table 4-75 Response Parameters

Name Description
attachmentId Unique attachment identifier.
displayName Display name of the attachment.
type Attachment type. The example returns FILE.
fileName Name of the attached file.
mimeType Media type of the attached file, such as application/pdf.
creatorId Identifier of the user who created the attachment.
creatorName Display name of the user who created the attachment.
createdDate Date and time when the attachment was created. The example uses a timestamp placeholder.

Example of Response Body

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

{
  "attachmentId": 9401,
  "displayName": "Comment support",
  "type": "FILE",
  "fileName": "comment-support.pdf",
  "mimeType": "application/pdf",
  "creatorId": "jsmith",
  "creatorName": "John Smith",
  "createdDate": "<timestamp>"
}

Sample cURL Command

The following example retrieves the details of attachment 9401 associated with comment 9001 of reconciliation 100000004828309.

curl --request GET --url "https://<SERVICE_NAME>-<TENANT_NAME>.<SERVICE_TYPE>.<dcX>.oraclecloud.com/arm/rest/rc/v1/reconciliations/100000004828309/comments/9001/attachments/9401" --header "Authorization: ${AUTHORIZATION_HEADER}" --header "Accept: application/json"