Method ImportDocumentToFileFromInbox
ImportDocumentToFileFromInbox(DocumentId, FileId, PrivacyLevel)
Add to or create a new file area document in a specific file from an existing inbox document. Will choose a fitting document if possible or create a new one otherwise.
Task<DocumentId> ImportDocumentToFileFromInbox(DocumentId inboxDocId, FileId targetFileId, PrivacyLevel minPrivacyLevel)
Parameters
inboxDocIdDocumentIdInboxDocId.
targetFileIdFileIdthe target fileId.
minPrivacyLevelPrivacyLevelThe minimum privacy level to be considered while looking for a fitting document to import to.
Returns
- Task<DocumentId>
DocumentId of the document.