This function allows you to create a hostgroup as defined by the hostgroup data array.
|hostgroup data||array or object||Array of Host group objects or a single object||groupid shouldn't be specified|
|result||Operation successful. Result will contain array of created Host group IDs. groupid are assigned to each Host group object|
|error||In case of any errors|
Host group created successfully:
Host group already exists: