Skip to content

Latest commit

 

History

History
52 lines (39 loc) · 1.1 KB

sections.md

File metadata and controls

52 lines (39 loc) · 1.1 KB

Sections

Request Supported
Get All Sections from a Document
Get a Specific Section
Delete Section
Get Textshot

Get All Sections

use CodebarAg\DocuWare\Requests\Documents\Sections\GetAllSectionsFromADocument;

$sections = $connector->send(new GetAllSectionsFromADocument(
    $fileCabinetId,
    $documentId
))->dto();

Get Specific Section

use CodebarAg\DocuWare\Requests\Documents\Sections\GetASpecificSection;

$section = $connector->send(new GetASpecificSection(
    $fileCabinetId,
    $sectionsId
))->dto();

Delete Section

use CodebarAg\DocuWare\Requests\Documents\Sections\DeleteSection;

$deleted = $connector->send(new DeleteSection(
    $fileCabinetId,
    $sectionId
))->dto();

Get Textshot

use CodebarAg\DocuWare\Requests\Documents\Sections\GetTextshot;

$deleted = $connector->send(new GetTextshot(
    $fileCabinetId,
    $sectionId
))->dto();