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

optional

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

optional nillable

Gets the binary data of the requested file stream. It uses base64 encoding.

â–¡ FileName

xs:string

optional nillable

Gets the file name of the stream.

â–  StreamNo

xs:int

optional

Gets the number of the returned stream.

 

 

 

Legend:

 

â– 

Not nillable element.

â–¡

Nillable element.

≡

Unbounded element (List of elements).

Normal

Optional element.

Bold

Mandatory element.

 

 

© 2022 Therefore Corporation, all rights reserved.