Trados Studio
Trados Enterprise
Trados Team
Trados GroupShare
Trados Business Manager
Passolo
MultiTerm
RWS AppStore
Connectors
Beta Groups
Managed Translation
MultiTrans
TMS
WorldServer
Language Weaver
Language Weaver Connectors
Language Weaver Edge
Tridion Docs
Tridion Sites
LiveContent S1000D
XPP
Language Developers
Tridion Docs Developers
Community Help
RWS User Experience
Internal Trados Ideas Community
Mercury
RWS Community Internal Group
RWS Training & Certification
Style Guides
RWS Campus
RWS Enterprise Technology Partners
Trados Approved Trainers
ETUG (European Trados User Group) Public Information
Nordic Tridion Docs User Group
Tridion West Coast User Group
Trados Studio Ideas
Trados GroupShare Ideas
Trados Team Ideas
Trados Team Terminology Ideas
Trados Enterprise Ideas
Trados Business Manager Ideas
MultiTerm Ideas
Passolo Ideas
RWS Appstore Ideas
Tridion Docs Ideas
Tridion Sites Ideas
Language Weaver Ideas
Language Weaver Edge Ideas
Managed Translation - Enterprise Ideas
TMS Ideas
WorldServer Ideas
LiveContent S1000D Ideas
Contenta S1000D
XPP Ideas
Events & Webinars
To RWS Support
Detecting language please wait for.......
Hi,
is it possible to query one or more TUs by their ID through the GroupShare REST API? I have not found any related method on the swagger definition, and also have not found a way to reference the ID in the filters (http://producthelp.sdl.com/SDL%20studio%20groupshare/en/TM_system_fields.htm)
thanks,
Tamas
Would this be something that perhaps Miodrag Perunicic could help with potentially? Thanks, Daniel
Hi Tamas Meszaros,
you are right, there is no special end-point to query a specific translation unit using a TU ID or GUID.I did find one trick that can be used to get a particular TU by using the /tus endpoint and 'startTuId' and 'count' query parameters.
Here is what you can try:
- each TU has a 'tuid' under the 'metadata' object in JSON, for example 5(please note that these ids are integers, not guids)
- when you use the /api/tmservice/tms/{tmId}/tus endopoint to get all TUs you can specify'startTuId' and a 'count' as query parameters (they are actually mandatory)
- so for our example, if you'd need TU with id=5 you would then call that endpointwith 'startTuId=4' and 'count=1'
I did test this on a couple of TMs and various TUs and it works but we're not using this anywhere in production so I cannot guarantee anything.Please note that these integer TU IDs do not have to be in order / continuous.
Give it a try and see if this helps with your problem. If you'd need more info or a demonstration just please contact me directly via email.
Thanks,Mio
Hi Mio,
thanks for the investigation, I think this solution will work!
If you think, you could add a more direct solution to the roadmap as well. Especially, the ability to query multiple TUs by an ID list
regards,