GET api/Loyalty/GetCustomerTransactionsBySysref?sysrefNumberFrom={sysrefNumberFrom}&companyKey={companyKey}

Returns a maximum of 100 customer point transactions starting from the specified system reference number. To get all the following transactions, this method must be called again until no transactions are received.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
sysrefNumberFrom

The minimum transaction system reference number to retrieve.

integer

Required

companyKey

string

Default value is

Body Parameters

N/A


Response Information

Resource Description

The result containing the list of transactions retrieved and their maximum system reference number.

GetTransactionsBySysrefResult
NameDescriptionTypeAdditional information
MaxSysref

integer

N/A

Transactions

Collection of Transact

N/A

Response Formats

application/json, text/json

Sample:
{
  "MaxSysref": 1,
  "Transactions": [
    {
      "CustRef": "sample string 1",
      "SysRef": "sample string 2",
      "TranDate": "2024-10-06T02:24:46.937803",
      "TranType": "AP",
      "TransactionType": 0,
      "Description": "sample string 6",
      "Analysis": "sample string 7",
      "DbCr": "sample string 8",
      "Points": 9,
      "Amount": 10.0,
      "CompNo": 11,
      "IntRef": "sample string 12",
      "ExtRef": "sample string 13",
      "PtsAlloc": 14,
      "Allocated": true,
      "UserId": "sample string 16",
      "Date": "2024-10-06T02:24:46.937803",
      "Time": "sample string 18"
    },
    {
      "CustRef": "sample string 1",
      "SysRef": "sample string 2",
      "TranDate": "2024-10-06T02:24:46.937803",
      "TranType": "AP",
      "TransactionType": 0,
      "Description": "sample string 6",
      "Analysis": "sample string 7",
      "DbCr": "sample string 8",
      "Points": 9,
      "Amount": 10.0,
      "CompNo": 11,
      "IntRef": "sample string 12",
      "ExtRef": "sample string 13",
      "PtsAlloc": 14,
      "Allocated": true,
      "UserId": "sample string 16",
      "Date": "2024-10-06T02:24:46.937803",
      "Time": "sample string 18"
    }
  ]
}