Hostgroup wildcard searches do not return any hostgroups, the following JSON request is correct as per the API documentation. I have also tried with a percent symbol as the wildcard character. api version is reported as 1.3
{"jsonrpc": "2.0", "method":"hostgroup.get","params": {"output": "extend", "search":
{"name": "Template*"},"searchWildcardsEnabled":1},"auth": "XXXXX", "id": 0}
Should return the Templates group, but returns an empty array. Removing the wildcard character, but leaving the searchWildcardsEnabled flag enabled returns all hostgroups with Template anywhere in the name.
It should be possible to search for 'Templ*' or 'Templ%' and have the Templates group returned. This is not currently the case.