Edit objects groups API

1. Description

Edit objects groups API is dedicated to change objects what belong to this group.

2. Request

PUT /management/object-group/{objects_group_id}?version=1&api_key=<...> HTTP/1.1
Host: api.fm-track.com
Content-Type: application/json;charset=UTF-8

BODY:

[
"3d5a92ce",
"1f34d706",
"15a5e322"
]
ParameterTypeDescriptionIs requiredRemarks
objects_group_idstringObjects group identifier+
api_keystringUser identification key+
versionintegerversion of API+At this moment we have only version=1
{objects_ids}arrayObjects IDs array in request body+After request only objects in this array will belong to this group.

3. Response

Response example

{
    "id": "6f63d04a",
    "name": "xfds",
    "objects_ids": [
        "3d5a92ce",
        "1f34d706",
        "15a5e322"
    ]
}
NameTypeDescription
idstringObjects group ID
namestringObjects group name
objects_idsarrayContainer for all objects IDs, what belongs to this group