Units groups by id

The request is intended to receive the list of groups by id's.

Request example

&svc=get_units_groups_by_ids&params={
    "id_user": integer,
    "units_groups_ids": [integer, integer, ...]
}

Parameters

Parameter Description
id_user Unique user id
units_groups_ids List of unique units groups ids

Additional info

If optional parameter id_user is set, response will contain all available groups.

Response

List of groups
[
    {
        "id": 29202, // group id
        "creator": 24237, // group creator
        "name": "Тест", // group name
        "icon": "darkblue/car_icon.png", // group icon
        "units": [
            28738, // unit id
            66780,
            ...
        ]
    },
    ...
]