Topic: Get Unit Groups by Unit ID
My first question I guess would be if there was a way to return the Unit Group name when getting a Unit, and if not, what is the best way to get a Unit Group by Unit ID?
My first question I guess would be if there was a way to return the Unit Group name when getting a Unit, and if not, what is the best way to get a Unit Group by Unit ID?
Hello!
Unfortunately, there is no data returned about Unit group for unit, as there are different main elements in system: Unit and Unit Group
You can only request all unit groups (search element 'avl_unit_group' ) and then check in which group required unit ID is.