Show/Hide Toolbars

Therefore Web API Programming Interface 1.0

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

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

 

Gets the thumbnails for specified streams of a document or for a file from the upload session

 

 

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

 

Element Name

Element Type

Restrictions

Description

â–  parameters

 

 


â–¡ DocNo

xs:int

optional nillable

The number of the document to be viewed or 0 if a newly uploaded document should be viewed

â–¡ VersionNo

xs:int

optional nillable

The version of the document to be viewed or 0 if a newly uploaded document should be viewed

â–¡ StreamNos

 

optional nillable

The StreamNos of an document to be viewed or 0 if a newly uploaded document should be viewed

≡ int

xs:int

optional unbounded


â–¡ UploadSessionId

xs:string

optional nillable

GUID string template:

[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}

The upload session guid to be viewed or null/undefined if an existing document should be viewed

â–¡ SizeInPixels

xs:int

optional nillable

Sets the size of the thumbnail in pixels. Nil or 0 (zero) value means that default size will be used.

â–¡ ConversionOptions

 

optional nillable

Conversion options that should be applied to the document when converting to HTML.

â–¡ RenderWordComments

xs:boolean

optional nillable

Enables rendering of review comments in Word documents.

 

 

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

 

Element Name

Element Type

Restrictions

Description

â–  parameters

 

 


â–¡ Thumbnails

 

mandatory nillable

List of thumbnails, containing the byte data, extension and a bool if the thumbnail could be obtained.

≡ GetThumbnailResponse

 

optional unbounded nillable


â–  Exists

xs:boolean

optional

Returns true if the thumbnail can be obtained for given document.

â–¡ ThumbnailFileData

xs:base64Binary

optional nillable

Gets binary data of the thumbnail file. It uses base64 encoding. Nothing is returned if the thumbnail can not be obtained for a given document.

â–¡ ThumbnailFileExtension

xs:string

optional nillable

Gets the extension for the thumbnail file (including the period "."). Nothing is returned if thumbnail cannot be obtained for the given document.

 

 

 

Legend:

 

â– 

Not nillable element.

â–¡

Nillable element.

≡

Unbounded element (List of elements).

Normal

Optional element.

Bold

Mandatory element.

 

 

© 2022 Therefore Corporation, all rights reserved.