Fetch entity API to support CVL field extraction with multi-language support
How: Why: Who: Impact:
*Please, add your suggestion and feedback above to add to the insights used by Product team when deciding priorities and direction of the Inriver PIM.*
Admin
Mats Hultgren
Apr 4, 2024
Note: Originally commented in Community by @Viktor Bergqvist , included here for convenience:
But with that said, it would be beneficial as you state to also be able to get the CVL values for more than the specific language that you get today in the Fetch entity API.
Note: Originally commented in Community by @Viktor Bergqvist , included here for convenience:
...
Hi Saroj,
You can fetch specific languages by including the header
--header 'Accept-Language': 'de' //Provide fieldname, category in German language provided. Example when fetching EntitySummary and FieldsSummary data when using
https://api-prod1a-euw.productmarketingcloud.com/swagger/index.html#/Entity/FetchData
you can read more about the other headers here.
https://community.inriver.com/hc/en-us/articles/360023000354-How-do-I-set-up-the-REST-API
Or to get all relevant CVL values for the entity type you can
1. Fetch the CVL fieldstypes for the entity and locate the CVLId
https://api-prod1a-euw.productmarketingcloud.com/swagger/index.html#/Model/GetAllFieldTypesForEntityType
2. Fetch all CVL values based on the CVLId
https://api-prod1a-euw.productmarketingcloud.com//swagger/index.html#/Model/GetAllCvlValues
But with that said, it would be beneficial as you state to also be able to get the CVL values for more than the specific language that you get today in the Fetch entity API.
...