Show/Hide Toolbars

Therefore Web API Programming Interface 1.0

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

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

 

Returns file streams of existing Thereforeâ„¢ document and converts them into the desired format.

 

 

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

 

Element Name

Element Type

Restrictions

Description

â–  parameters

 

 


â–¡ ConversionOptions

 

mandatory nillable

Sets the options for converting the files.

â–  AnnotationMode

 

optional

restriction enum (xs:string)

- Default (0)

- Merge (1)

- Hide (2)

Sets the annotation mode.

â–¡ CertificateName

xs:string

optional nillable

Sets the name of the certificate for signing the file.

â–  ConvertTo

 

optional

restriction enum (xs:string)

- Original (0)

- SingleTIFF (1)

- SinglePDF (2)

- MultipageTIFF (3)

- MultipagePDF (4)

- SearchablePDF (5)

- SearchablePDFA (6)

- Jpeg (50)

Sets the conversion file format. Notes for multipage conversion types: - In the CreateDocument, AddStreamToDocument, and SubmitCreateDocumentBatch methods, the conversion type will be applied to all the specified streams together. - In the UpdateDocument and SubmitUpdateDocumentBatch methods, the conversion type will be applied to all the new streams together. But for updated streams this will be done on a one by one basis.

â–  SignatureMode

 

optional

restriction enum (xs:string)

- NoSignature (0)

- SignatureOnly (1)

- SignatureAndTimestamp (2)

Sets the signature mode.

â–¡ TimeStampPwd

xs:string

optional nillable

Sets the password for the user for the timestamp server.

â–¡ TimeStampServer

xs:string

optional nillable

Sets the name of the timestamp server for signing the file.

â–¡ TimeStampUser

xs:string

optional nillable

Sets the user for the timestamp server.

â–¡ MultipageStreamName

xs:string

optional nillable

Sets the name of the multipage result stream. Specifies a stream name to be used instead of default one (given by conversion server). Use it with multipage conversion types (see the ConvertTo parameter). Value will be ignored for a single page TIFF/PDF, JPEG, and Original conversion types.

â–  DocNo

xs:int

mandatory

Sets the number of the document to get streams for.

â–¡ StreamNos

 

mandatory nillable

Sets stream ids of the streams to get. If the list is empty ALL streams of the document will be converted.

≡ StreamNo

xs:int

optional unbounded


 

 

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

 

Element Name

Element Type

Restrictions

Description

â–  parameters

 

 


â–¡ Streams

 

optional nillable

Gets list of requested streams converted into the desired format.

≡ WSStreamInfoWithData

 

optional unbounded nillable


â–¡ FileData

xs:base64Binary

mandatory nillable

Gets or sets binary data of the file. It uses base64 encoding.

â–¡ FileName

xs:string

mandatory nillable

Gets or sets the name of the stream file.

â–¡ StreamNo

xs:int

optional nillable

Gets or sets the number of the stream.

 

 

 

Legend:

 

â– 

Not nillable element.

â–¡

Nillable element.

≡

Unbounded element (List of elements).

Normal

Optional element.

Bold

Mandatory element.

 

 

© 2022 Therefore Corporation, all rights reserved.