import_tmx
Import a TMX file into a translation memory. Returns an import job ID to check status until complete.
Instructions
Imports a TMX file into a translation memory. This is an async operation that returns an import job object containing an import_id. Poll with check_import_status using the returned import_id until the import is complete.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The ID of the memory to update. Format: mem_xyz123. | |
| tmx_content | Yes | The content of the tmx file to upload. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Import job identifier | |
| begin | No | Begin offset of the import | |
| end | No | End offset of the import | |
| channel | No | Channel identifier used by the import | |
| size | No | Total number of units in the import | |
| progress | No | Import progress between 0 and 1 (1 means complete) |