Click or drag to resize

LoyaltyPartnerClientSelectLoyaltyPartnerOutlet Method

Return the Loyalty Partner Outlet Details from the submitted Loyalty Partner Outlet RSN.

The Loyalty Partner Outlet RSN can be fetched from the Web Service Method: SelectLoyaltyPartnerOutletList

Syntax
C#
public ResultOfPartnerOutletProfile SelectLoyaltyPartnerOutlet(
	ManagementGroupRequestOfguid request
)

Parameters

request
Type: LoyaltyServiceManagementGroupRequestOfguid

Return Value

Type: ResultOfPartnerOutletProfile
Examples
C#
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("1280f5f3-db47-48bf-b53e-5892a9080283");;//Required - RSN of outlet

  LoyaltyService.ResultOfPartnerOutletProfile result = svc.SelectLoyaltyPartnerOutlet(request);

  if (result.FaultCode == 0)
  {
    //Request succeeded
  }
  else
  {
    //Request failed
    throw new Exception(result.FaultDescription);
  }
}
See Also