Updating objects inner items
-
hi, im using this json format to update title of an object
{
"version": "2.0",
"params": {
"apikey" : "1evk8k9r5e",
"id" : "45",
"title" : "test_title"
},
"id": "1",
"method": "cmdb.object.update"
}
but i want to update or add new inner properties like model,cpu,memory etc..
for example i want to add two cpu's to a device or update a cpu's frequency
how can i do this by calling api using json? is there a good documentation for parameteres that can be used for each function? -
Hi,
you may find the API documentation in our knowledge base. Additionally, there are two useful links mentioned in this article: a PDF file with information about each RPC method (a little bit outdated). And a link to information about each category: https://your-i-doit-instance.example.org/index.php?load=api_properties
Benjamin