Is MultiTerm API thread safe?

Dear all,

currently, I'm developing a commandline application for importing data into a MultiTerm server database.
Unfortunately, I'm facing issues (System.ArgumentException) in that application. I'm trying to run the ".ProcessImport(MultiTermIX.MtTaskType.mtScript)" in a new thread to be able to stop the import process, if it takes much longer than normal.
The application is developed in Visual Basic.
My question therefore is, if the API from MultiTerm is thread safe and if it is possible to outsource the import process to a new, independent process/thread.

If you have any further questions or any hints, please don't hesitate to let me know.

Thank you very much in advance for your soon reply.
Best regards and have an easy day
Nils

Parents Reply
  •  

    Just want to make sure you don't confuse the Trados Cloud API with the GroupShare REST API.  These are completely different products.

    As far as I am aware the GroupShare REST API is designed more for individual term management and search operations rather than bulk data import scenarios.  For true bulk imports, the traditional MultiTerm Desktop approach remains the most practical and efficient method.  So your original question may still be relevant,

    The GroupShare REST APIs only make this available:

    • Individual concept management: POST /multiterm/api/1.0/termbases/{termbaseId}/concepts - Add single concepts
    • Concept updates: PUT /multiterm/api/1.0/termbases/{termbaseId}/concepts - Update individual concepts
    • Concept deletion: DELETE /multiterm/api/1.0/termbases/{termbaseId}/concepts/{conceptId}
    • Search and retrieval: Various endpoints for finding and retrieving terminology
    • Multimedia support: POST /multiterm/api/1.0/termbases/{termbaseId}/multimedia - Add images/media

    What's Missing:

    • No bulk import endpoints for file-based imports (XML, TBX, CSV, Excel)
    • No batch concept creation endpoints
    • No import definition management via REST API

    I'd love to be corrected, but I'm pretty sure this is accurate based on the documentation we provide.

    one additional question regarding the documentation. In the documentation of the Trados Cloud Platform API (https://eu.cloud.trados.com/lc/api-docs/termbase-import-export) it is mentioned, that "Only empty termbases support importing content.".
    But, a few lines later at the "duplicateEntriesStrategy" parameter : "override The content of the current entry with the same identifier will be replaced by the imported entry."
    If the termbase must be empty to be able to support importing content, which content could be overwritten?

    A good question... the documentation does contain conflicting statements:

    • "Only empty termbases support importing content" - This suggests imports are restricted to empty termbases
    • Duplicate entry strategies (ignore, merge, override) - These options only make sense if the termbase already contains entries

    Perhaps  can confirm whether this is a documentation error or duplicate strategies that might be describing intended functionality that isn't fully implemented yet?

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

Children