Skip to content

Latest commit

 

History

History
29 lines (24 loc) · 626 Bytes

modify_documents.md

File metadata and controls

29 lines (24 loc) · 626 Bytes

Modify Documents

Request Supported
Transfer Document
Delete Document

Transfer Document

use CodebarAg\DocuWare\Requests\Documents\ModifyDocuments\TransferDocument;

$response = $connector->send(new TransferDocument(
    $fileCabinetId,
    $destinationFileCabinetId,
    $storeDialogId,
    $documentId,
    $fields,
))->dto();

Delete Documents

use CodebarAg\DocuWare\Requests\Documents\ModifyDocuments\DeleteDocument;

$connector->send(new DeleteDocument(
    $fileCabinetId
    $documentId,
))->dto();