Group Summary

This guide shows you how to retrieve your group summaries.

The following code samples illustrate how to retrieve summaries of information about all the groups associated with the current account.

The Code

You can retrieve the group summary using the OneSpan Sign client and loop through each GroupSummary object to retrieve the group name, id, and email address.

List<GroupSummary> groupSummary = eslClient.getGroupService().getGroupSummaries();
		
for (GroupSummary groupSumm : groupSummary){
		System.out.format("Group name: %s, Id: %s, Group Email: %s\n", groupSumm.getName(), groupSumm.getId(), groupSumm.getEmail());
}

Running Your Code

Below is a screenshot once you run the sample code above:

capture

Get the Code

The following code samples illustrate how to retrieve summaries of information about all the groups associated with the current account.

The Code

You can retrieve the group summary using the OneSpan Sign client and loop through each GroupSummary object to retrieve the group name, id, and email address.

List<GroupSummary> groupSummary = eslClient.GroupService.GetGroupSummaries();

foreach (GroupSummary groupSumm in groupSummary)
{
        Debug.WriteLine("Group name: {0}, Id: {1}, Group Email: {2}\n", groupSumm.Name, groupSumm.Id, groupSumm.Email);
}

Running Your Code

Below is a screenshot once you run the sample code above:

capture

Get the Code

The following code samples illustrate how to retrieve summaries of information about all the groups associated with the current account.

The Code

You can retrieve the group summary and loop through each GroupSummary object to retrieve the group name, id, and email address.

HTTP Request
GET /api/groups/summary

HTTP Headers
Accept: application/json
Content-Type: application/json
Authorization: Basic api_key

Response Payload

{
    "results": [
        {
            "id": "9fb94cb3-30c0-4432-87e5-a3bdd202f34d",
            "data": null,
            "email": "delegation-e8saocDxDB4I@groups.e-signlive.com",
            "name": "Delegation group for e8saocDxDB4I"
        },
        {
            "id": "51d67169-caf4-4ef8-9081-2b617311115f",
            "data": null,
            "email": "delegation-easd123DxDB4I@groups.e-signlive.com",
            "name": "Group1"
        }
    ],
    "count": 2
}

Get the Code