GET api/Loyalty/GetCustomerTransactionsByDate?customerCode={customerCode}&dateFrom={dateFrom}&dateTo={dateTo}&companyKey={companyKey}
Returns a list of point transactions for the specified customer and date range (maximum range of 33 days).
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| customerCode |
The customer code |
string |
Required |
| dateFrom |
The date range begin date |
date |
Required |
| dateTo |
The date range end date |
date |
Required |
| companyKey | string |
Default value is |
Body Parameters
N/A
Response Information
Resource Description
A list of transactions.
Collection of Transact| Name | Description | Type | Additional information |
|---|---|---|---|
| CustRef | string |
Max length: 10 |
|
| SysRef | string |
Max length: 8 |
|
| TranDate | date |
N/A |
|
| TranType | string |
Max length: 2 |
|
| TransactionType | TransactionTypeEnum |
N/A |
|
| Description | string |
Max length: 50 |
|
| Analysis | string |
Max length: 4 |
|
| DbCr | string |
Max length: 1 |
|
| Points | integer |
N/A |
|
| Amount | decimal number |
N/A |
|
| CompNo | integer |
N/A |
|
| IntRef | string |
Max length: 8 |
|
| ExtRef | string |
Max length: 15 |
|
| PtsAlloc | integer |
N/A |
|
| Allocated | boolean |
N/A |
|
| UserId | string |
Max length: 3 |
|
| Date | date |
N/A |
|
| Time | string |
Max length: 5 |
Response Formats
application/json, text/json
Sample:
[
{
"CustRef": "sample string 1",
"SysRef": "sample string 2",
"TranDate": "2025-12-26T22:55:13.2586914",
"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": "2025-12-26T22:55:13.2586914",
"Time": "sample string 18"
},
{
"CustRef": "sample string 1",
"SysRef": "sample string 2",
"TranDate": "2025-12-26T22:55:13.2586914",
"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": "2025-12-26T22:55:13.2586914",
"Time": "sample string 18"
}
]