Skip to main content
Skip table of contents

8.2.4 Download API URL Parameters, option with Security Token

Note: sessionID from Thru is not required of this type of download, user is not authenticated in Thru since calling application is supposed to authenticate a user. Required URL parameters:

  • ThruFiles: string of comma separated tokens for file for downloads, one token per file.
    For Security token format see section 8.2.2 Security Token

    Multiple tokens are separated by comma.

    CODE
    <encrypted token in base64format>, < encrypted token2 in base64format > … < encrypted tokenN in base64format >
  • ThruApplicationID: API key configured for the integration which creates a download link.

  • ThruSuccessUrl : Browser window containing download tool will be redirected to this URL on successful download

  • ThruErrorReportingUrl : Browser window containing download tool will be redirected to this URL on failed download.

If download failed, server will return server error code (see below) in parameter “ThruErrorCode”.

If an error occurred and ThruErrorReportingURL is not defined then server will throw an exception in the page which contains Java download applet.

Note: the value of ThruErrorReportingUrl is not validated. You should verify it is a valid URL that does exist when integrating Thru download tool.

Sample URL with security token:
http:// test.thrudownload.com /ExternalJavaDownload.aspx?ThruSuccessUrl=http://google.com&ThruErrorReportingUrl=http://y
ahoo.com&ThruFiles=hLmrvNNh7rMjT%2ffLL27vyQDPXUl%2fUjBKKwurzLAxmopIxotP%2fT20Mz5
J180jhG3Soqkz8bB1AV6rz3NMcyYtmm3mdo%2bCLeD0FDfgJZ6cw1Iqs9V%2bR79KsJ1mzfUKGrgQ
mrOq1NlosLcBtzmoVPW4%2bCqkt%2bbkNBdYoYw8DITFkHd%2fVsEHCnk5pjPd89mDATyjTu4xM
CXFVH20lP7tTOU75k61LLSj3×6bHzCuorKcUzp7nuvxve0se9cOdFQ3TA6XH78IMGmdoOz9JgDPITy
z1Q%3d%3d&ThruApplicationID=2987490673892

JavaScript errors detected

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

If this problem persists, please contact our support.