Solved

Get commodity group translations via REST-API

  • 8 April 2024
  • 2 replies
  • 18 views

Badge +2

Hi,

I want to get the translation of a commodity group via the REST-API in IFS Apps 10. Ultimately I want to get some product data to provide for another system. Unfortunately the commodity group shows only the code (e.g. 22) and not the actual description which I need.

I found the projection “CommodityGroupsHandling.svc” which gives me the commodity group description in default language which is fine but unfortunately it’s english in our environment. Now I want to get the German translation of the basic data which is available in the application.

Can anybody help me with that?

 

Thank you and regards,

Sören

icon

Best answer by dsj 8 April 2024, 16:42

View original

2 replies

Userlevel 7
Badge +20

Hi @SoerenOhm

 

You can get the commodity group in preferred language by adding Accept-Language header in the request.

 

Correct language code in RFC 3066 format can be found in the Used languages page.

 

For the german it should be Accept-Language=de-DE

 

Regards,

Damith

Badge +2

Hey @dsj

thank you very much. I had the possiblity of something related to REST in mind but my knowledge on that isn’t that big. 

Problem solved!

 

Regards,

Sören

Reply