Click or drag to resize

LoyaltyClientSelectTransactionDetailByRSN Method

Returns the Transaction Details from the submitted Transaction Set RSN.

The Transaction Set RSN can be fetched from the Web Service Method: SelectTransactionDetailList

Syntax
C#
public ResultOfTransactionDetail SelectTransactionDetailByRSN(
	ManagementGroupRequestOfguid request
)

Parameters

request
Type: LoyaltyServiceManagementGroupRequestOfguid

Return Value

Type: ResultOfTransactionDetail
Examples
C#
using (var svc = new LoyaltyService.LoyaltyClient())
{
  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("de1405c3-12f7-42b6-8232-c41a1bd77fbf");;//Required - RSN of transaction

  LoyaltyService.ResultOfTransactionDetail result = svc.SelectTransactionDetailByRSN(request);

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