Group Summary
  • 10 Oct 2024
  • 1 Minute à lire
  • Sombre
    Lumière
  • PDF

Group Summary

  • Sombre
    Lumière
  • PDF

The content is currently unavailable in French. You are viewing the default English version.
Résumé de l’article

Java SDK.NET SDKREST API

Java SDK

To download the full code sample see our Code Share site.

The following code samples illustrate how to retrieve a summary of all groups associated with the current account.

Using the OneSpan Sign client to loop through each GroupSummary object you can retrieve the Group Name, Group Id, and Group Email.

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());
}

Results

Here is an example of what you can expect to see once you have run your code.

.NET SDK

To download the full code sample see our Code Share site.

The following code samples illustrate how to retrieve a summary of all groups associated with the current account.

Using the OneSpan Sign client to loop through each GroupSummary object you can retrieve the Group Name, Group Id, and Group Email.

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);
}

Results

Here is an example of what you can expect to see once you have run your code.

REST API

To download the full code sample see our Code Share site.

The following code samples illustrate how to retrieve a summary of all groups associated with the current account.

The Code

Using the OneSpan Sign client to loop through each GroupSummary object you can retrieve the Group Name, Group Id, and Group Email.

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
}


Cet article vous a-t-il été utile ?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.
ESC

Eddy AI, facilitant la découverte de connaissances grâce à l’intelligence conversationnelle