Get target term with GroupShare REST API

Hi All,

I looking for a way to get the target term in a entry. Using the '/multiterm/api/1.0/termbases/search' I'm only able to receive back the source term for the source language 'srcLangId'. I've tried to use the param 'trgLangId' but the result is the same.

The response has only the value for 'termText' for the source language.

Maybe the 'trgLangId' field has another purpose...

  

Thanks in advance

Luca

emoji
Parents
  •   

    Hello!

    Could you share an example of the call you're making and the response?

    In the meantime, you could try to use the trgLangId as the srcLangId and see whether that works.
    As a termbase can have more than two languages, I am not sure they are treated differently.

    Also, there's another endpoint that you can use:

    Fullscreen
    1
    /multiterm/api/1.0/termbases/findterms?tid={tid}&srcLangCode={srcLangCode}&query={query}
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    This one worked for me, and I was able to get a termText for any language. Unfortunately, it takes just a srcLangCode as a parameter so I had to use it for each language separately.

    emoji
Reply
  •   

    Hello!

    Could you share an example of the call you're making and the response?

    In the meantime, you could try to use the trgLangId as the srcLangId and see whether that works.
    As a termbase can have more than two languages, I am not sure they are treated differently.

    Also, there's another endpoint that you can use:

    Fullscreen
    1
    /multiterm/api/1.0/termbases/findterms?tid={tid}&srcLangCode={srcLangCode}&query={query}
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    This one worked for me, and I was able to get a termText for any language. Unfortunately, it takes just a srcLangCode as a parameter so I had to use it for each language separately.

    emoji
Children
No Data