Show/Hide Toolbars

Therefore Web API Programming Interface 1.0

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

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

 

Returns the thumbnail of an existing Thereforeâ„¢ document.

 

 

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

 

Element Name

Element Type

Restrictions

Description

â–  parameters

 

 


â–  DocNo

xs:int

mandatory

Sets the number of the document.

â–¡ 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.

â–¡ RequestedThumbnailFormat

xs:string

optional nillable

Set format in which the thumbnail should be returned. If not set the default format is used (png). Accepted strings: "jpeg", "png".

 

 

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

 

Element Name

Element Type

Restrictions

Description

â–  parameters

 

 


â–  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.