Folders
Upload
Upload a new document and request the transformation/s (only supported for PDF and single/multipage TIFF). Note! If the uploaded document contains more than 95% greyscale pixels it will always be forced to a greyscale transformed PDF.
POST
/
folders
/
{folderId}
/
documents
Authorizations
x-api-key
string
headerrequiredPath Parameters
folderId
integer
requiredThe folder id
Body
multipart/form-data
File
file
requiredDocumentType
enum<string>
requiredAvailable options:
unspecific
, annualReport
DocumentTransformType
enum<string>
Available options:
transformToSearchablePDF
, transformToOCR
, transformToMetadata
, transformToEntity
MimeType
string
Description
string
Maximum length:
255
ExternalId1
string
Maximum length:
255
ExternalId2
string
Maximum length:
255
CompanyId
integer
Response
200 - application/json
documentId
integer
documentFolderId
integer
originsFromDocumentId
integer | null
companyId
integer | null
externalId1
string | null
externalId2
string | null
description
string | null
documentType
enum<string>
Available options:
unspecific
, annualReport
fileName
string | null
fileMimeType
string | null
documentTransformType
enum<string>
Available options:
transformToSearchablePDF
, transformToOCR
, transformToMetadata
, transformToEntity
documentTransformStatusType
enum<string>
Available options:
requested
, processing
, success
, warning
, failed
documentFileSystemType
enum<string>
Available options:
orginal
, pdfSearchable
, jsonOcrV1
, jsonEntityV1
, jsonOcrV2
, jsonEntityV2
isDeleted
boolean | null
lastUpdatedAtUtc
string