+1
How to find memoQ project GUID via XTRF API
Hi!
I wonder if anyone knows the option to identify the memoQ project GUID through XTRF API - we would like to create a memoQ wrap-up automation, but I am struggling to find any way to do it.
I can see that we can extract the bilingual document ID, but I did not find any clear way to use it to find memoQ project.
Any suggestion, either from XTRF API or memoQ API is very much welcome!
Customer support service by UserEcho
Hi Bartosz, unfortunately, the memoQ project GUID is not available directly via the XTRF API, even though XTRF created the memoQ project… The workaround I found is a little complicated:
Here's the Groovy code for the custom column:
I imagine you could use this code in a parameterized macro instead, and use the `macros/{macro_id}/run/` endpoint of the XTRF API to get the memoQ project GUID directly if that fits your use case better.
Hope this helps.
Best,
-Ben
Hi Ben!
Thanks for sharing the code, it works great for projects, I have tried to manipulate the code to achieve the same results for quotes but my knowledge about this is so limited that I failed.
As the queue times for waiting for any kind of customizations from XTRF Support nowadays are... not short ;), I would like to ask you if you maybe have the same solution for Quotes instead
Thanks for your help!
Sure, here's the same code for quotes:
-Ben
Thanks Ben,
I really appreciate your help!
Have a great day!
Hi Ben,
After the newest XTRF patch, we can finally get memoQ GUID via get v2/projects/{projectID} - I thought it might be of use to you!
Yes, that is excellent, thank you for reaching out Bartosz! However, two issues require me to still use the macro workaround:
Could someone from the XTRF team confirm whether the endpoint works for quotes as well, and if so how?