Message Translations REST API
Overview
Oracle CPQ uses text strings and corresponding translations, which are saved on the server in a module called the Resource Bundle. Transaction REST API consumers need an easier way to access the Resource Bundle, rather than duplicating the translation work on their side. This REST API allows consumers to construct messages dynamically by querying CPQ's Resource Bundle to retrieve the specified message translations.
This implementation can improve performance by minimizing the number of REST service calls required to support displayed text translations. Customer UIs need to display translations of displayed text for the locale of the user. This solution caches translations so calls to Oracle CPQ for each translatable page are not required, and runtime updates to the Resource Bundle are incorporated. The maximum query response size is 1,000 rows.
For example, for an approvals related message, a particular "key" is used to generate the message. Data is provided as part of the REST response for approvals related actions, like History attribute, and the message in this History attribute has variables that need to be replaced with the data in the response. If the message does not have any variables then the Resource Bundle response can be used as it is on the consumer side.
This messaging service has three parameters, "key", "language", and "value". The consumer can search for a list of messages and languages by providing "key", "language", and query parameters in the request.
Administration
Notes
For more information on the Interface Catalogs, see the topic Interface Catalog.