Translation Memory Import

Import Translation Memory

Changed on

Generates an asynchronous import operation. <br> <br> Read more about prerequisites and limitations on the official documentation center. <br> Note: The order of the multipart form parameter must be implemented as such: properties first, file second. <br> Use the Poll Translation Memory Import endpoint to poll until the import status is done.<br> To track the progress of the import please refer to Poll Translation Memory Import.

post/translation-memory/{translationMemoryId}/imports

Request

  • Base URL
    https://api.eu.cloud.trados.com/public-api/v1
  • URL
    https://api.eu.cloud.trados.com/public-api/v1/translation-memory/{translationMemoryId}/imports
  • Auth
    none declared. Required headers: Authorization, X-LC-Tenant

Headers

Authorizationstring required

The bearer access token provided by Auth0.

X-LC-Tenantstring required

The identifier of the account where the request is executed.

Request body multipart/form-data

filestring binary required

The file (binary string) to import into the translation memory. <br>Accepted file types: <b>.tmx</b>, <b>.sdltm</b>, <b>.zip</b>, <b>.tmx.gz</b>, <b>.sdlxliff</b>

Response

OK - returned when the status field has one of the following values: failed, done, cancelled

idstring required

The unique identifier of the import operation.

status'queued' | 'inProgress' | 'failed' | 'done' | 'cancelled' required

(Deprecated) The status of the import operation.

  • queued - the import has been queued and is waiting to be processed
  • inProgress - the import is being processed
  • failed - the import has failed due to internal errors
  • done - the import has finished successfully
  • cancelled - the import has been interrupted

Changes