diff --git a/api-docs/apiLive.htm b/api-docs/apiLive.htm index e47f73efd..544779f3a 100644 --- a/api-docs/apiLive.htm +++ b/api-docs/apiLive.htm @@ -1261,6 +1261,22 @@
This API allows to associate existing groups to a center.
+The groups are listed from the office to which the center is associated.
+If group(s) is already associated with center then API will result in an error.
+POST https://Domain Name/api/v1/centers/{centerId}?command=associateGroups
+ POST centers/1?command=associateGroups
+Content-Type: application/json
+Request Body:
+{
+ "grouptMembers":[1,2]
+}
+
+
+{
+ "officeId": 1,
+ "groupId": 1,
+ "resourceId": 1,
+ "grouptMembers": [1,2]
+}
+
+ This API allows to disassociate groups from a center.
+POST https://Domain Name/api/v1/centers/{centerId}?command=disassociateGroups
+ POST center/1?command=disassociateGroups
+Content-Type: application/json
+Request Body:
+{
+ "grouptMembers":[1,2]
+}
+
+
+{
+ "officeId": 1,
+ "groupId": 1,
+ "resourceId": 1,
+ "grouptMembers": [1,2]
+}
+
+ This API allows to associate existing clients to a group.
-The clients are listed from the office to which the group is associated.
-If client(s) is already associated with group then API will result in an error.
-POST https://Domain Name/api/v1/groups/{groupId}?command=associateClients
- POST groups/1?command=associateClients
-Content-Type: application/json
-Request Body:
-{
- "clientMembers":[1,2]
-}
-
-
-{
- "officeId": 1,
- "groupId": 1,
- "resourceId": 1,
- "clientMembers": [1,2]
-}
-
-