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" ]
Parameter | Type | Description | Is required | Remarks |
---|---|---|---|---|
objects_group_id | string | Objects group identifier | + | |
api_key | string | User identification key | + | |
version | integer | version of API | + | At this moment we have only version=1 |
{objects_ids} | array | Objects 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" ] }
Name | Type | Description |
---|---|---|
id | string | Objects group ID |
name | string | Objects group name |
objects_ids | array | Container for all objects IDs, what belongs to this group |