The Attachment object represents a file that has been added to a RocketKOR entity.
businessAccountId
string (UUID)
Business Account ID.
entityId
string (UUID)
ID of the entity that the attachment belongs to.
entityType
string enum, values: BENEFICIARY, BUSINESS_ACCOUNT, CUSTOMER, FINANCIAL_ACCOUNT, LINX_TEMPLATE, LINX_WORKFLOW, MULTI_LEG_TRANSACTION, NOTE, RECIPIENT, SCHEDULED_TRANSACTION, TRANSACTION
Type of entity that the attachment belongs to. The following values are supported:
name
string, max length: 40
Name of the attachment.
description
string, max length: 1000
Description of the attachment.
metadata
string, max properties: 6, value max length: 1024
Key/value pairs used to store additional information about the attachment.
createdBy
object
Entity that created the attachment.
id
string (UUID)
ID of the entity. Will be blank if createdBy.type is internal.
type
string enum, values: employee, internal, kor_employee, service-account
Type of entity. The following values are supported:
createdAt
string (date-time)
Date and time the attachment was created in the RocketKOR system.
updatedBy
object
Entity that last updated the attachment.
id
string (UUID)
ID of the entity. Will be blank if updatedBy.type is internal.
type
string enum, values: employee, internal, kor_employee, service-account
Type of entity. The following values are supported:
updatedAt
string (date-time)
Date and time the attachment was last updated.
id
string (UUID)
ID of the attachment.
status
string enum, values: NEW, UPLOADED, MALICIOUS, INCOMPLETE, SCANNED
Attachment status. The following values are supported:
extension
string enum, values: PNG, JPG, JPEG, PDF
Attachment file extension.
url
object
Content URL for the attachment. Returned for GET /v1/attachments/{attachmentId} if the attachment status is SCANNED.
value
string (URI)
Content URL.
allow
string enum, values: GET
Allowed HTTP method for the URL. Value must be GET (download the attachment).
expiresIn
integer (int64)
URL expiry period (in seconds).
thumbnailUrl
object
Content URL for the attachment’s thumbnail image. Returned for GET /v1/attachments/{attachmentId} if the attachment status is SCANNED.
The thumbnail image is used in the RocketKOR Portal. A default thumbnail image is generated automatically when the attachment is first uploaded.
value
string (URI)
Content URL.
allow
string enum, values: GET
Allowed HTTP method for the URL. Value must be GET (download the thumbnail image).
expiresIn
integer (int64)
URL expiry period (in seconds).
Attachment Object
{
"businessAccountId": "string(UUID)",
"entityId": "string(UUID)",
"entityType": "BENEFICIARY | BUSINESS_ACCOUNT | CUSTOMER| FINANCIAL_ACCOUNT | LINX_TEMPLATE | LINX_WORKFLOW | MULTI_LEG_TRANSACTION | NOTE | RECIPIENT | SCHEDULED_TRANSACTION | TRANSACTION",
"name": "string",
"description": "string",
"metadata": {
"key": "value"
},
"createdBy": {
"id": "string(UUID)",
"type": "employee | internal | kor_employee | service-account"
},
"createdAt": "string(UUID)",
"updatedBy": {
"id": "string(UUID)",
"type": "employee | internal | kor_employee | service-account"
},
"updatedAt": "string(date-time)",
"id": "string(UUID)",
"status": "NEW | UPLOADED | MALICIOUS | INCOMPLETE | SCANNED",
"extension": "PNG | JPG | JPEG | PDF",
"url": {
"value": "string(URI)",
"allow": "GET",
"expiresIn": integer(int64)
},
"thumbnailUrl": {
"value": "string(URI)",
"allow": "GET",
"expiresIn": integer(int64)
}
}
Step into the future of Finance with RocketKOR! Simplify payments, banking, lending, and data analytics using our versatile KOR Platform.
A Rocket Financial Inc. company
@ 2024 RocketKOR, Inc. All rights reserved.