LoyaltyPartnerClientSelectLoyaltyPartner Method |
Return the Loyalty Partner Details from the submitted Loyalty Partner RSN.
The Loyalty Partner RSN can be fetched from the Web Service Method: SelectLoyaltyPartnerList
public ResultOfPartnerProfile SelectLoyaltyPartner( ManagementGroupRequestOfguid request )
using (var svc = new LoyaltyService.LoyaltyPartnerClient()) { var request = new LoyaltyService.ManagementGroupRequestOfguid(); request.Token = "Token";//Required - Token returned from AccountService.ManagementGroupLogin request.ManagementGroup = "Management group";//Required - ManagementGroup supplied when calling AccountService.ManagementGroupLogin request.Value = new Guid("af948da1-5055-439e-99d4-2964c885436d");;//Required - RSN of partner LoyaltyService.ResultOfPartnerProfile result = svc.SelectLoyaltyPartner(request); if (result.FaultCode == 0) { //Request succeeded } else { //Request failed throw new Exception(result.FaultDescription); } }