Get all items from field
-
Hi Guys,
I am trying to get all objects from "category": "C__CATG__OPERATING_SYSTEM". But i am not getting the correct information.I am trying to get the list of all objects in the category in the Operating system.
Adding data to the cmdb is not a problem, but getting the right information is.
This is the code that I am using :
{ "version": "2.0", "method": "cmdb.dialog.read", "params": { "apikey": "2i30sgvmvp", "category": "C__CATG__OPERATING_SYSTEM", "property": "application_type" }, "ID": "" }This is the result.
{ "jsonrpc": "2.0", "result": [ { "id": "1", "const": "C__CATG__APPLICATION_TYPE__SOFTWARE", "title": "Software" }, { "id": "2", "const": "C__CATG__APPLICATION_TYPE__OPERATING_SYSTEM", "title": "Operating system" } ], "id": null }The documentation is in German and is not written to well....
-
I found it how to get all times with the following code:
{ "version": "2.0", "method": "cmdb.objects.read", "params": { "filter": { "type_title": "LC__OBJTYPE__OPERATING_SYSTEM" }, "apikey": "2i30sgvmvl", "sort": "ASC" }, "id": "1" }
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