dkyle88 | Posts: 7 Creating Groups Friday, December 11, 2015 at 10:29am 0 votes I just had groups enabled on my account and am wanting to create them and invite signers to the groups. Does anyone have an example of how to do this? December 11 Created January 21 Last Updated 9 years ago Last Reply 1 Replies 40 Views 2 Users 0 Likes 0 Links harishaidary | Posts: 1812 Reply to: Creating Groups Friday, December 11, 2015 at 10:45am 0 votes The code below will do trick. Let me know if you run into any issues. public static void Main(string[] args) { EslClient eslClient = new EslClient(apiKey, apiUrl); Group emptyGroup = GroupBuilder.NewGroup(Guid.NewGuid().ToString()) .WithEmail("[email protected]") .WithoutIndividualMemberEmailing() .Build(); Group createdEmptyGroup = eslClient.GroupService.CreateGroup(emptyGroup); eslClient.GroupService.InviteMember(createdEmptyGroup.Id, GroupMemberBuilder.NewGroupMember("[email protected]") .AsMemberType(GroupMemberType.MANAGER) .Build()); } Log in or register to post comments
harishaidary | Posts: 1812 Reply to: Creating Groups Friday, December 11, 2015 at 10:45am 0 votes The code below will do trick. Let me know if you run into any issues. public static void Main(string[] args) { EslClient eslClient = new EslClient(apiKey, apiUrl); Group emptyGroup = GroupBuilder.NewGroup(Guid.NewGuid().ToString()) .WithEmail("[email protected]") .WithoutIndividualMemberEmailing() .Build(); Group createdEmptyGroup = eslClient.GroupService.CreateGroup(emptyGroup); eslClient.GroupService.InviteMember(createdEmptyGroup.Id, GroupMemberBuilder.NewGroupMember("[email protected]") .AsMemberType(GroupMemberType.MANAGER) .Build()); } Log in or register to post comments
Reply to: Creating Groups
Friday, December 11, 2015 at 10:45am