DocumentContent
idstring<uuid>required
The document ID in UUID format
Example:
123e4567-e89b-12d3-a456-426614174000
namestringrequired
The name of the document
Example:
test.pdf
mimeTypestringrequired
The MIME type of the document
Example:
application/pdf
metadata object
Additional metadata associated with the document
property name*string
classCodestring
The class code of the document
Possible values: Value must match regular expression ^[A-Z0-9_]{3,20}$
Example:
INVOICE
DocumentContent
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "test.pdf",
"mimeType": "application/pdf",
"metadata": {
"AMOUNT": "1000",
"AMOUNT_CURRENCY": "USD",
"INVOICE_NUMBER": "INV-123456",
"CUSTOMER_NAME": "John Doe"
},
"classCode": "INVOICE"
}