The AddEmailListPanelsToInvitation() method can be utilized to add multiple email lists to an invitation. You can add as many email lists as you need to the invitation in an array of integers which contains the ID’s of the email list (panels). If you pass in any invalid ID’s the method call will fail at that point and not process any more email lists.
class Test { static void Main() { var invProxy = new InvitationManagementServiceClient(); var addPanelToInvitationResult = invProxy.AddEmailListPanelsToInvitation(authToken, 1015, new[] { 1001 }); if (addPanelToInvitationResult.CallSuccess) Console.WriteLine("Successfully added email panel to invitation"); else throw new Exception(); } }
Input Parameters
Parameter | Type | Description |
---|---|---|
authToken | string | Authentication token to validate permission over the data requested |
invitationID | int | Id of the Invitation that the email lists are going to be added to |
emailListPanelIDs | int[] | Array of email list id’s in integer format |