Skip to main content

resources/files/new/preview

Previews a previously created new deliverable, see resources/files/new

This is an asynchronous operation.

URL

(POST) /resources/files/new/preview

PARAMETERS

The parameters are a JSON object included in the request body:

tokenThe token obtained from the call resources/files/newMandatory, string
baseurlOptional. When creating the file, you receive details on whether the base url can be customized or not. If so, specify here.Optional, string?
encodingOptional encoding of the file. If not specified or null, the system uses the original file's encoding or the last one used for the current file.Optional, string?


RESULTS

A TRM formatted JSON.

When finished the JSON contains a secure token that you can use to view the file: previewtoken

Then open a browser page and direct to /api/media/get/{previewtoken} to show the results which is an HTML page.

 

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.