This is the scenario:
- I am making a SOAP call from Magento to a CMS
The CMS will produce and return a json encoded object of new Category names and some category properties ( Title, URL, Parent/Child relationship, that's pretty much it ) to Magento.
I need to iterate through this object, and take the Category names and insert them into the Magento DB so that Magento can manage these categories. I will also need to add whatever category properties to each category that aren't present in the object, and I need to correctly insert these Categories so that they show up in the admin section under Manage Categories.
My Question: I just need to know how to work with Magento's API to insert the Categories into the database correctly. Can anyone point me in the right direction?
Note: I'm using Magento CE 184.108.40.206. Using a plugin won't work in my case, because I need this to happen seamlessly to the user logging into the admin area. If there's a plugin someone knows of that is open source and has the functionality in it that I'm looking for, please share the name so I can study that code.
Thanks for any help!