How to create Module though API.
1) I can goto Administrator--> Module Builder and the create module. (This step I want to do through API)
2) And then go-to the newly create module and add content type to it.
3) Then I can click Code reference for <Module Name created in step 1> and use API's to add/remove/update items inside the module (content type)
Now question is how do I can create module with API. I want to insert data through API which is possible with the code provided in step 3, but in-case we can't find module then system should do following
- Create module (through API)
- Activate it
- Add content type (Something like Name, type, text, Review date etc.)
Note: I am able to insert data to module through API's and only needed a way to create module with API.