LoyaltyClientSelectMemberPointsSummaryByProgramRSN Method |
Returns the Program Member Details and Points Expiry for the submitted Member RSN and Program RSN for Expiries that are:
public ResultOfProgramMembershipPointsSummary SelectMemberPointsSummaryByProgramRSN( ManagementGroupRequestOfMemberPointsSummaryByProgramRSN request )
using (var svc = new LoyaltyService.LoyaltyClient()) { var request = new LoyaltyService.ManagementGroupRequestOfMemberPointsSummaryByProgramRSN(); request.Token = "Token";//Required - Token returned from AccountService.ManagementGroupLogin request.ManagementGroup = "Management group";//Required - ManagementGroup supplied when calling AccountService.ManagementGroupLogin var search = new LoyaltyService.MemberPointsSummaryByProgramRSN(); search.Member_RSN = new Guid("352a784d-1270-44dd-965f-682477e16831");;//Required - RSN of member search.Program_RSN = new Guid("ec8bc289-47f8-4dfc-9a86-ff71135a30c5");; //Required - RSN of program //add filter to request request.Value = search; LoyaltyService.ResultOfProgramMembershipPointsSummary result = svc.SelectMemberPointsSummaryByProgramRSN(request); if (result.FaultCode == 0) { //Request succeeded } else { //Request failed throw new Exception(result.FaultDescription); } }