Method ImportDocumentToFileArea
ImportDocumentToFileArea(byte[], PrivacyLevel)
Add to or create a new file area document. Will choose a fitting document and file if possible or create a new one otherwise.
Task<(DocumentId documentId, FileId fileId)> ImportDocumentToFileArea(byte[] data, PrivacyLevel minPrivacyLevel)
Parameters
databyte[]document data as bytearray.
minPrivacyLevelPrivacyLevelThe minimum privacy level to be considered while looking for a fitting document to import to.
Returns
- Task<(DocumentId documentId, FileId fileId)>
DocumentId and FileId of the document.