Hi Dangli,
You can create structure of import and export parameters and use that structure as a entity set.so you will be able to send message through one of the field of er_entity in get entity and in update entity methods and you will be able to export your message.
Regards,
Aditi