DocumentDTO
DTO for managing document information and file content
id_countrystring
Country code where the ID was issued
Example:
MA
id_expirystring
Expiry date of the identification document
Example:
31-12-2025
id_numberstring
Identification document number
Example:
AB123456
id_typestring
Type of identification document
Example:
PASSPORT
referencestring
Unique reference for the document
Example:
DOC-2023-001
radicalstring
Root identifier for document classification
Example:
CLI
documentNatureCodestring
Code indicating the nature/type of document
Example:
CONT001
documentNamestring
Name of the document
Example:
Contract Agreement
confidentialstring
Indicates if the document is confidential
Example:
Y
filestring
File name or path
Example:
contract_12345.pdf
fileBytesbyte
codeBanquestring
Bank code identifier
Example:
BNK001
DocumentDTO
{
"id_country": "MA",
"id_expiry": "31-12-2025",
"id_number": "AB123456",
"id_type": "PASSPORT",
"reference": "DOC-2023-001",
"radical": "CLI",
"documentNatureCode": "CONT001",
"documentName": "Contract Agreement",
"confidential": "Y",
"file": "contract_12345.pdf",
"fileBytes": "string",
"codeBanque": "BNK001"
}