JSON cmdb.object_type_categories
-
Hi,
ich bekomme beim JSON Aufruf der Funktion "cmdb.object_type_categories" folgende Fehlermeldung (Apache Log)PHP Fatal error: Call to a member function get_row() on a non-object in /var/www/src/classes/api/model/cmdb/isys_api_model_cmdb_object_type_categories.class.php on line 138
Übergebene Paramtere sind:
"version": "2.0",
"method": "cmdb.object_type_categories",
"id": "1",
"params": {"id":"19",
"session": {"username": "admin",
"password": "md5hash",
"language": "de","mandator": 1
}}}'Hat jemand eine Idee, was da falsch läuft?
-
Hallo tsd,
statt "id" muss es in den Params "type" heißen.
Der "type" muss eine Objekt-Typ ID aus i-doit sein:{ "version": "2.0", "method": "cmdb.object_type_categories", "id": "1", "params": { "type":"19", "session": { "username": "admin", "password": "md5hash", "language": "de","mandator": 1 } } }Viele Grüße,
Leo -
Danke das war der Fehler!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login