Suggestion need for Publishing REST API in Mendix with External Data (Teamcenter)

0
Hi Team, I am currently working on publishing a REST API in Mendix that will be used by a third-party application. The purpose of the API is to allow the third-party admin to send an Item ID and a list of properties to the Mendix application, and in return, the Mendix app should fetch property values from the Teamcenter database (not the Mendix database). The data will be retrieved from Teamcenter, but no data will be stored or managed within the Mendix database.Kindly suggest me ,how should I configure non-persistent entities in Mendix and handle list associations when the data is fetched from Teamcenter, not Mendix?
asked
1 answers
1

Hi Priyadharshini,

In the published REST API, you can consume the Teamcenter API and load the data in non-persistent objects, including associations. Optionally, you can transform data into another data structure, i.e. loop through all the data and create the non-persistent objects in the structure you want to expose in your REST API. You can either define a JSON snippet yourself or use a Message Definition to develop your Export Mapping used in the published REST API.

Any specific issues you encounter?

Good luck!

Johan

answered