-
Incident report
-
Resolution: Fixed
-
Trivial
-
None
-
coding api from jsonrpc interface in python
when I create a host using the API it returns me a hostid as if all is fine but when I then add that host to a map it does not show, upon checking I find that the host does not exist even though the API call to API::Host->create($hosts) executed fine.
Upon further investigation to see how the web page does this I find that they call DBstart(true) before the call to the api and DBend(true) after, so I wonder if there is any way for me to do the same as API calls.