Table of Contents

Adding units to a group

The request is intended for adding an object to a group.

Request example

&svc=add_units_to_group&params={
    "group_id": integer,
    "unit_ids": [integer,integer,...]
}

Parameters

Parameter Description
group_id Unique Id of unit group
unit_ids The unique identifier of the object

Response

List of added and denied units ids
{
    "added": [
        ... //IDs of objects that were added to the group
    ],
    "denied": [
        ... //IDs of objects that were not added to the group
    ]
}