Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

PARAMETERS

Parameters are:

token

The session token obtained when connecting.

id

The ID of the translation request.

compressOptional. The compression library to use to decompress compress the streamed file. GZip or Deflate (default)

RESULTS

The method returns the file as a Deflate/GZIP compressed binary stream (see Wikipedia). 

If you are using C#, use the DeflateStream class to decompress the web response stream. See sample code.

An HTTP status of 200 indicates success. Other HTTP status values indicate an error. You may get errors if:

  • The translation is not yet available. Download files only if the ready property of the request is true.
  • The translation was deleted by the user or a platform administrator