From de818af7b396e74bc64faf4d2b5aa5f1d54f59a1 Mon Sep 17 00:00:00 2001 From: ashok-conflux Date: Tue, 7 May 2013 20:41:13 +0530 Subject: [PATCH] updated api doc with commands associateClients and disassociateClients in group API --- api-docs/apiLive.htm | 71 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) diff --git a/api-docs/apiLive.htm b/api-docs/apiLive.htm index 47d63f55a..e74043965 100644 --- a/api-docs/apiLive.htm +++ b/api-docs/apiLive.htm @@ -3415,6 +3415,61 @@ Request Body: +   +
+
+

Associate Clients

+

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] +} + +
+
+   +
+
+

Disassociate Clients

+

This API allows to disassociate clients from a group.

+

Disassociating a client with group loans results in an error.

+
+ +
+ POST https://Domain Name/api/v1/groups/{groupId}?command=disassociateClients + POST groups/1?command=disassociateClients +Content-Type: application/json +Request Body: +{ + "clientMembers":[1,2] +} + + +{ + "officeId": 1, + "groupId": 1, + "resourceId": 1, + "clientMembers": [1,2] +} + +
+
 
@@ -14270,6 +14325,22 @@ GET https://DomainName/api/v1/search?query=000000111 + + + groups/{groupId}?command=associateClients + Associate Clients + + + + + + + groups/{groupId}?command=disassociateClients + Disassociate Clients + + + + Savings Product savingsproducts