Download Reconciliation Question Attachments
Downloads the file content of an attachment associated with a multi-line reconciliation question.
REST Resource
GET /arm/rest/rc/v1/reconciliations/{reconciliationId}/questions/{questionId}/attachments/{attachmentId}/download
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
Request
This GET operation does not require a request body.
Table 4-90 Request Parameters
| Name | Type | Description | Required |
|---|---|---|---|
| reconciliationId | Path | ID of the reconciliation associated with the question. | Yes |
| questionId | Path | ID of the question associated with the attachment. | Yes |
| attachmentId | Path | ID of the question attachment to download. | Yes |
Example URL
The following example downloads attachment 5678 associated with question 1234 of reconciliation 100000009832435.
GET https://<SERVICE_NAME>/arm/rest/rc/v1/reconciliations/100000009832435/questions/1234/attachments/5678/download
Response
Supported Media Types: application/octet-stream
Returns the attachment content as a binary file stream. No JSON response body parameters apply.
Table 4-91 Response Headers
| Name | Description |
|---|---|
Content-Type
|
Media type of the returned content. The source example returns application/octet-stream. |
Content-Disposition
|
Indicates that the content is an attachment and provides its file name. The source example uses attachment; filename = supporting-document.pdf. |
Example of Response Body
The following source example includes the HTTP status and response headers. The placeholder represents the raw bytes of the attached file.
HTTP/1.1 200 OK
Content-Type: application/octet-stream
content-disposition: attachment; filename = supporting-document.pdf
<raw file bytes>