Getting translated text segments from TranslationUnit

How can I get the translated text segments from a TranslationMemory's TranslationUnits that I am fetching using GroupShareKit?

 

What we need:

A way to list actual translated text segments, by exposing them via an API method. 

 

What we currently have: 

Using the SDL GroupShareKit, we can make a call to the /api/tmservice/tms/{tmId}/tus. This returns a list of TranslationUnits, but none of them actually contain any actual translated text.

This is the object I get in Visual Studio Debug, as a result of the API call:

 Visual Studio Debug window showing a list of TranslationUnits from a TranslationMemory API call with no visible translated text segments.

I cannot find the translated text anywhere in the object.

This is the output of a postman call to: /api/tmservice/tms/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/tus?source=de-ch&target=en-gb&startTuId=0&count=5

Notepad++ window displaying JSON output from a TranslationMemory API call with TranslationUnits, still no actual translated text visible.

 

 

Is this even possible? Can you get actual text from a TU? If not, how would we need to go about solving this problem?



Generated Image Alt-Text
[edited by: Trados AI at 10:31 AM (GMT 0) on 4 Mar 2024]