Hello everybody !
I have search for infos on the web in order to add new object to the api webservice in prestashop 1.6 (it works ok with the hook in Prestashop 1.7 but I need to have the module in version 1.6 also)
I created a module with database creation. I created a new hook to install the content of the database but it doesn't fill in.. (File apicalls.php at the root of the module).
Then I add the info in the webservice in classes/override/webservice/Webrequest.php and finally I add the class that extends objectModel in classes/Sample.php
Could somebody tell me what is wrong with what I am doing ?
Thanks a lot !