Export Data in JSON format from an list

0
Hello,  I have question maybe you can help me. In my application I use an microflow with the rest actvity to become  data from SAP. The output of the data from SAP is an table. To use the table in a list view or  data grid works fine. But I want to export the data/ list JSON format to an API. Is that possible and how?  Thank you for all answers.  Best regards    
asked
1 answers
0

Ron,

You can use a REST activity and export your data using an export mapping.  

Here is documentation on mapping documents (which it seems you are already familiar with):  https://docs.mendix.com/refguide/mapping-documents

Here is documentation on Consuming a REST API (which it seems you are also familiar with):  https://docs.mendix.com/refguide/consumed-rest-services

To send data, you will choose the POST method in your REST microflow activity.  Then in the Request tab of that activity, you’ll be able to specify an export mapping and pass an entity that will be sent in the body of the request.

Hope that helps,

Mike

answered