POST
/v2/organizations/{organizationId}/translation-memories/{translationMemoryId}/importImport a TMX file into a translation memory
Imports entries from a TMX file into a translation memory. Send the file as multipart form data and use overrideExisting to control whether existing entries are overridden; this parameter defaults to false. The response reports how many entries were created, skipped, and updated.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
organizationIdintegerrequired
The integer identifier of the organization that owns the translation memory.
translationMemoryIdintegerrequired
The integer identifier of the translation memory to import entries into.
overrideExistingbooleanoptional
Whether to override existing entries during import. Defaults to false when omitted.
Multipart form data containing the TMX file to import.
filestringrequired
The TMX file to import.
200Returns counts of the entries created, skipped, and updated during the import.
createdintegerrequired
skippedintegerrequired
updatedintegerrequired
400Returned when the request is invalid or the uploaded file cannot be processed.
codestringrequired
paramsarray<object>optional
401Returned when authentication is missing or invalid.
codestringrequired
paramsarray<object>optional
403Returned when the authenticated user does not have access to the requested resource.
codestringrequired
paramsarray<object>optional
404Returned when the organization or translation memory cannot be found.
codestringrequired
paramsarray<object>optional
Error handling
A 400 is returned when the request or uploaded file is invalid, a 401 when authentication is missing or invalid, and a 403 when the authenticated user lacks access. A 404 is returned when the organizationId path parameter or translationMemoryId path parameter does not identify an available resource. Include the file field in the multipart form data; overrideExisting defaults to false when omitted.