Example of a REST API call with Export mapping

0
Hi, I have a POST method which accepts the body parameters. Is there any example of calling a REST API service with export mapping?
asked
2 answers
1

I don't know of a concrete example, but it should be pretty straight forward.

What you need to do is.
 

  • Create a JSON Structure that looks like the body you want so send
  • Create an export mapping using this JSON structure
  • Map your domain model entites in this mapping

Now you can do your rest call, using the export mapping and pass the domain model object that contains your data.

answered
0

See also: https://docs.mendix.com/refguide6/consumed-rest-services and the instruction video

answered