I don't know of a concrete example, but it should be pretty straight forward.
What you need to do is.
Now you can do your rest call, using the export mapping and pass the domain model object that contains your data.
See also: https://docs.mendix.com/refguide6/consumed-rest-services and the instruction video