Import Mapping returns an ID rather than the full object hierarchy - Mendix Forum

Import Mapping returns an ID rather than the full object hierarchy

0

I am following along with this webinar (https://ww2.mendix.com/expert-webinar-REST-Services.html) to invoke a REST service. I’m using 7.3.1 of CommunityCommons and 5.2.1 of RestServices. I have a breakpoint at the end of a microflow. When I call the REST service and return a string, I see the full (JSON) structure. Then, I create a JSON_structure from the response and an Import_mapping. In the video, the entire hierarchy of objects is returned at about 19 minutes 40 seconds. I’ve tried this a couple of different ways (select the entire element hierarchy, select a subset), but only get the top-level element.  (See https://drive.google.com/open?id=1Dg05_hJoIy3L8QQ3JYpGIK3P8-_Z0ABT).

There is a warning: “Array contain multiple JSON object definitions. Only first will be used.” Does anyone have ideas for why the import mapping is not returning the full element hierarchy? (Nothing like this appears to have been encountered in the video.)

asked
0 answers