Create Attachment for Multiline Attribute
Creates an attachment for a multiline attribute.
REST Resource
POST /arm/rest/rc/v1/reconciliations/{reconciliationId}/attributes/{attributeId}/attachments
Required Roles
User with access to the reconciliation. The attribute or attachment must be configured as editable for the user.
Request
Supported Media Types: application/json
Table 4-54 Multiline Attribute Attachments Request Parameters
| Name | Type | Description | Required |
|---|---|---|---|
reconciliationId |
Path | ID of the reconciliation | Yes |
attributeId |
Path | ID of the multiline attribute whose attachments must be listed | Yes |
Example Request
POST multipart/form-data /arm/rest/rc/v1/reconciliations/100000004828309/attributes/9001/attachments
file = @attr-support.pdf;
name = attr support
Response
Supported Media Types: application/json
Table 4-55 Multiline Attribute Attachments Response Parameters
| Name | Description |
|---|---|
attachmentID |
ID of the attachment |
displayName |
Display name of the attachment |
type |
Attribute data type |
fileName |
Attachment file name |
creatorId |
ID of the user who created the attachment |
creatorName |
Name of the user who created the attachment |
createdDate |
Date the attachment was created |
Example Response
The following is an example of the response body in JSON format.
{
"attachmentId": 9401,
"displayName": "attr support",
"type": "FILE",
"fileName": "attrsupport.pdf",
"mimeType": "application/pdf",
"creatorId": "jsmith",
"creatorName": "John Smith",
"createdDate": "<timestamp>"
}