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

List of groups
[
    {
        "id": 28782, // group Id
        "creator": 24237, // group creator
        "name": "Группа пользователя sdkTest", // group name
        "icon": null, // group icon
        "units": [ 
            66780, // unit Id
            ... 
        ]
    },
    ...
]