Show/Hide Toolbars

Therefore Web API Programming Interface 1.0

REST URL (POST) https://tenant.thereforeonline.com/theservice/v0001/restun/GetDocumentStream

SOAP Action (POST) http://schemas.therefore.net/webservices/interop/v0001/messages/IThereforeService/GetDocumentStream

 

Returns the file stream of an existing Thereforeâ„¢ document for any version of the document.

 

 

Input Message: http://schemas.therefore.net/webservices/interop/v0001/messages/IThereforeService/GetDocumentStream

 

Element Name

Element Type

Restrictions

Description

â–  parameters

 

 


â–  DocNo

xs:int

mandatory

Sets the number of the document to get the stream from.

â–  StreamNo

xs:int

mandatory

Sets the number of the requested stream.

â–  VersionNo

xs:int

 

Sets the version number of the document you get the stream from. Pass 0 to get the latest version.

 

 

Output Message: http://schemas.therefore.net/webservices/interop/v0001/messages/IThereforeService/GetDocumentStreamResponse

 

Element Name

Element Type

Restrictions

Description

â–  parameters

 

 


â–¡ FileData

xs:base64Binary

nillable

Gets the binary data of the requested file stream. It uses a base64 encoded string in XML messages and a byte array in JSON messages.

â–¡ FileName

xs:string

nillable

Gets the file name of the stream.

â–  StreamNo

xs:int

 

Gets the number of the returned stream.

 

 

 

Legend:

 

â– 

Not nillable element.

â–¡

Nillable element.

≡

List of elements.

Bold

Mandatory element.

 

 

© 2023 Therefore Corporation, all rights reserved.