using (var svc = new LoyaltyService.LoyaltyClient())
{
var request = new LoyaltyService.ManagementGroupRequestOfTransferCardMember();
request.Token = "Token";
request.ManagementGroup = "Management group";
var transferCardMember = new LoyaltyService.TransferCardMember();
transferCardMember.TargetMember_RSN = new Guid("d5d91645-e08b-4d72-b152-657470b4fef9");;
transferCardMember.CardNumber = "Card number";
transferCardMember.CardMergeSourceMember_TemplateID = "CARDMERGE_SOURCE_MEMBER";
transferCardMember.CardMergeTargetMember_TemplateID = "CARDMERGE_TARGET_MEMBER";
request.Value = transferCardMember;
LoyaltyService.Result result = svc.TransferCardToMember(request);
if (result.FaultCode == 0)
{
}
else
{
throw new Exception(result.FaultDescription);
}
}