This is an old revision of the document!


FIXME This page is not fully translated, yet. Please help completing the translation.
(remove this paragraph once the translation is finished)

Units groups

The request is intended to receive the list of units groups. Запрос предназначен для получения доступных групп объектов.

Request example

&svc=get_units_groups&params={
    "id_user": integer
}

Parameters

Parameter Description
id_user Unique Id of user

Additional info

svc = get_units_groups - will response with full list of available groups. Optional parameter id_user - will response with full list of groups available for specified user.

Response

Результат запроса
[
    {
        "id": 28782, // ID группы
        "creator": 24237, // Создатель группы
        "name": "Группа пользователя sdkTest", // Название группы
        "icon": null, // Иконка группы
        "units": [ 
            66780, // ID объекта
            ... 
        ]
    },
    ...
]