DocuwareClient
Attributes
Classes
SearchForDocumentsInFileCabinetInput
dataclass
SearchForDocumentsInFileCabinetResponse
dataclass
SearchForDocumentsInFileCabinetResponse(count: Optional[int] = None, documents: Optional[List[Dict[str, Any]]] = None)
Response for Search in file cabinet
GetOrganizationResponse
dataclass
GetFileCabinetsResponse
dataclass
GetDocumentInformationResponse
dataclass
GetDocumentInformationResponse(sections: Optional[List[Dict[str, Any]]] = None, document_id: Optional[int] = None, index_fields: Optional[Dict[str, Any]] = None, document_title: Optional[str] = None, file_cabinet_id: Optional[str] = None, total_pages: Optional[int] = None, file_size: Optional[int] = None, content_type: Optional[str] = None, version_status: Optional[str] = None, document_flags: Optional[Dict[str, Any]] = None)
Response for Get document information
Attributes
sections
class-attribute
instance-attribute
Sections
document_id
class-attribute
instance-attribute
DocumentId
index_fields
class-attribute
instance-attribute
IndexFields
document_title
class-attribute
instance-attribute
DocumentTitle
file_cabinet_id
class-attribute
instance-attribute
FileCabinetId
total_pages
class-attribute
instance-attribute
TotalPages
file_size
class-attribute
instance-attribute
FileSize
content_type
class-attribute
instance-attribute
ContentType
version_status
class-attribute
instance-attribute
VersionStatus
UpdateIndexFieldsResponse
dataclass
UpdateIndexFieldsResponse(sections: Optional[List[Dict[str, Any]]] = None, document_id: Optional[int] = None, index_fields: Optional[Dict[str, Any]] = None, document_title: Optional[str] = None, file_cabinet_id: Optional[str] = None, total_pages: Optional[int] = None, file_size: Optional[int] = None, content_type: Optional[str] = None, version_status: Optional[str] = None, document_flags: Optional[Dict[str, Any]] = None)
Response for Update index fields
Attributes
sections
class-attribute
instance-attribute
Sections
document_id
class-attribute
instance-attribute
DocumentId
index_fields
class-attribute
instance-attribute
IndexFields
document_title
class-attribute
instance-attribute
DocumentTitle
file_cabinet_id
class-attribute
instance-attribute
FileCabinetId
total_pages
class-attribute
instance-attribute
TotalPages
file_size
class-attribute
instance-attribute
FileSize
content_type
class-attribute
instance-attribute
ContentType
version_status
class-attribute
instance-attribute
VersionStatus
TransferDocumentInput
dataclass
TransferDocumentInput(source_file_cabinet_id: Optional[str] = None, documents: Optional[List[Dict[str, Any]]] = None, keep_source: Optional[bool] = None, fill_intellix: Optional[bool] = None)
Transfer documents
Attributes
source_file_cabinet_id
class-attribute
instance-attribute
source_file_cabinet_id: Optional[str] = field(default=None, metadata={'wire_name': 'SourceFileCabinetId'})
Select the source File Cabinet or Document Tray.
keep_source
class-attribute
instance-attribute
Choose whether the source documents should be deleted or not.
TransferDocumentResponse
dataclass
TransferDocumentResponse(count: Optional[int] = None, documents: Optional[List[Dict[str, Any]]] = None)
Response for Transfer documents
PlaceAStampInput
dataclass
PlaceAStampInput(file_number: Optional[int] = None, page_number: Optional[int] = None, layer: Optional[int] = None, position_x: Optional[float] = None, position_y: Optional[float] = None, stamp_id: Optional[str] = None, password: Optional[str] = None, fields: Optional[List[Dict[str, Any]]] = None)
Place a stamp
Attributes
file_number
class-attribute
instance-attribute
Specify the file/section containing the page to be stamped.
page_number
class-attribute
instance-attribute
Specify the page number to place the stamp on.
layer
class-attribute
instance-attribute
Specify the document layer to place the stamp on [1-5]
position_x
class-attribute
instance-attribute
[Optional] Position from the left edge of the page in mm.
position_y
class-attribute
instance-attribute
[Optional] Position from the upper edge of the page in mm.
stamp_id
class-attribute
instance-attribute
Select or specify the stamp to be used.
PlaceAStampResponse
dataclass
PlaceAStampResponse(created: Optional[Dict[str, Any]] = None, type_: Optional[str] = None, color: Optional[str] = None, rotation: Optional[int] = None, transparent: Optional[bool] = None, stroke_width: Optional[int] = None, guid: Optional[str] = None)
Response for Place a stamp
Attributes
created
class-attribute
instance-attribute
Created
type_
class-attribute
instance-attribute
Type
color
class-attribute
instance-attribute
Color
rotation
class-attribute
instance-attribute
Rotation
transparent
class-attribute
instance-attribute
Transparent
stroke_width
class-attribute
instance-attribute
StrokeWidth
GetDialogsResponse
dataclass
GetStampsResponse
dataclass
GetStampFieldsResponse
dataclass
GetFileCabinetFieldsResponse
dataclass
GetDialogFieldsResponse
dataclass
ListDocumentsInDocumentTrayResponse
dataclass
DocuwareClient
DocuwareClient(connection_runtime_url: str, token_provider: Optional[TokenProvider] = None, options: Optional[ConnectorClientOptions] = None)
Bases: ConnectorClientBase
Typed client for docuware connector.
Initialize a DocuwareClient.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
connection_runtime_url
|
str
|
The connection runtime URL from Azure Portal. |
required |
token_provider
|
Optional[TokenProvider]
|
Optional token provider. Defaults to ManagedIdentityTokenProvider. |
None
|
options
|
Optional[ConnectorClientOptions]
|
Optional connector client options. |
None
|
Methods:
search_for_documents_in_file_cabinet_async
async
search_for_documents_in_file_cabinet_async(input: SearchForDocumentsInFileCabinetInput, file_cabinet: str, search_dialog_id: str) -> dict[str, Any] | None
Search in file cabinet
Search a file cabinet for documents matching the specified criteria.
get_organization_async
async
Get organization
Get the organization name.
get_file_cabinets_async
async
Get file cabinets and document trays
Gets a list of file cabinets and/or document trays.
get_document_information_async
async
Get document information
Gets information about a document.
delete_document_async
async
Delete a document
Deletes a document from a file cabinet or document tray.
download_file_async
async
download_file_async(file_cabinet_id: str, document_id: int, file_number: str, document_format: str) -> bytes
Download a file
Downloads a file/section of a document stored in a file cabinet or document tray.
download_document_async
async
Download a document
Downloads a document from a file cabinet or document tray.
update_index_fields_async
async
update_index_fields_async(input: UpdateIndexFieldsInput, file_cabinet_id: str, document_id: int) -> dict[str, Any] | None
Update index fields
Updates the index fields of a document.
transfer_document_async
async
transfer_document_async(input: TransferDocumentInput, destination_file_cabinet_id: str, store_dialog_id: Optional[str] = None) -> dict[str, Any] | None
Transfer documents
Moves one or more documents from one file cabinet/document tray to another.
place_a_stamp_async
async
place_a_stamp_async(input: PlaceAStampInput, file_cabinet_id: str, document_id: int) -> dict[str, Any] | None
Place a stamp
Places a stamp on a document.
get_dialogs_async
async
Get dialogs
Gets a list of dialogs for a file cabinet or document tray.
get_stamps_async
async
Get stamps
Gets a list of stamps for a file cabinet or document tray.
get_stamp_fields_async
async
Get stamp fields
Gets a list of fields for a stamp.
get_file_cabinet_fields_async
async
get_file_cabinet_fields_async(file_cabinet: str, field_type: Optional[str] = None) -> dict[str, Any] | None
Get file cabinet fields
Gets a list of fields for a file cabinet.
get_dialog_fields_async
async
Get dialog fields
Gets the fields for a dialog