Dear All,
Please find the below code for Adding List
Member in Marketing List
AddListMembersListRequest
AddMemberRequest = new
AddListMembersListRequest();
AddMemberRequest.ListId = new Guid("73104802-ae9e-ea11-a812-000d3abb53d2");
List<Guid> MemberListIds = new List<Guid>();
for (int hh = 0;
hh < listGuid.Count; hh++)
{
MemberListIds.Add(listGuid[hh]);
}
//Adding
Members
AddMemberRequest.MemberIds =
MemberListIds.ToArray();
// Use
AddListMembersListReponse to get information about the request execution
AddListMembersListResponse
AddMemberResponse = service.Execute(AddMemberRequest) as
AddListMembersListResponse;
No comments:
Post a Comment