Save API data into mendix entity

0
I want to Save Json Object api data into my ticket how can i do that and also I want json object remote_phone_no equal to user_master phone, if the phone no is equal the name should be displayed. Can anyone help please?
asked
5 answers
1

Hi Niharika,

What you can do is, You can first import the data from the REST into the NPE ( in our case JSONObject) entity.

Now, Once the data is received from the REST call, you can iterate through each data one by one and then, map it into the persistent entity.

Also according to your requirement, you can apply a check, in our case (remote_phone_no equal to user_master phone), by retrieving the User_Master entity and check if it exists or not.

This way, you will be able to achieve your requirement.

Let me know, if you have any issues.

Hope it helps!

 

Rishabh

(Resilient It Services)

answered
0

Hi Niharika Tiwari,

 

This learningpath explains everything you need to know on how to accomplish your goal:

https://academy.mendix.com/link/paths/44/Importing-and-Exporting-Your-Data

 

Good luck!

 

Kinds regards,

Aswin

answered
0

image.png

This is the microflow which I have created but the data is going in loop. Can you please see and let me know the mistake .

 

 

answered
0

This is the output where same is reapeating after login 

 

image.png

answered
0

Same issue, is this the correct way or need some changes?

image.png

answered