Table of Contents

Method ImportTransportDocument

Namespace
Zedal.Sdk.Apis.Core
Assembly
Zedal.Sdk.dll

ImportTransportDocument(byte[], bool, bool, bool, TemplateUsage)

Uploads a transport document to the service. The service recognizes whether it is an update of a document or a new creation of a document.

Task<DocumentId> ImportTransportDocument(byte[] data, bool cancel = false, bool dekade = false, bool distribute = false, ImportTransportDocumentRequest.Types.TemplateUsage templateUsage = null)

Parameters

data byte[]

document data as bytearray.

cancel bool

is documents cancelled state set.

dekade bool

document will is subject to the Dekadenmeldung.

distribute bool

automatically distribute document to all enclosed participants.

templateUsage ImportTransportDocumentRequest.Types.TemplateUsage

optional iph

Returns

Task<DocumentId>

the associated DocumentId or a new one.