How to communicate from an external application with the discussion and ads modules?
Hi
I'm developing a form that will need to communicate with the discussion module or the ads module in order to publish the information entered in the form to the discussion or ads module.
Is this possible? Is there an API?
Could someone tell me the steps to follow?
Thank you very much.
-
-
·
LeonidS
- ·
Hello @Claudio Acosta !
If you have this form in your own module then after submit you may call the serviceEntityAdd (entity_add method of the Discussions or Ads apps. Here is the example how to do that:
https://unacms.com/wiki/architecture-overview#61-service-calls
-
·
LeonidS