The request is intended to receive the list of groups by id's.
&svc=get_units_groups_by_ids¶ms={ "id_user": integer, "units_groups_ids": [integer, integer, ...] }
Parameter | Description |
---|---|
id_user | Unique user id |
units_groups_ids | List of unique units groups ids |
If optional parameter id_user is set, response will contain all available groups.
[ { "id": 29202, // group id "creator": 24237, // group creator "name": "Тест", // group name "icon": "darkblue/car_icon.png", // group icon "units": [ 28738, // unit id 66780, ... ] }, ... ]