-
Type:
Incident report
-
Resolution: Won't fix
-
Priority:
Major
-
None
-
Affects Version/s: 1.8.1
-
Component/s: API (A)
-
None
I cannot seem to get the id of a hostgroup through the API:
Sending:{"jsonrpc":"2.0","method":"hostgroup.getId","id":0,"auth":"f5cdd64f276ca0de9c117a1ade132976","params":{"name":"Templates"}}
array(3) {
["jsonrpc"]=>
string(3) "2.0"
["error"]=>
array(3)
["id"]=>
int(0)
}