2.14 Get Member Details
This will return a member's points balance, points balance value, activation status and a unique Rewards4 Deep Link. A Rewards4 Deep Link can be used to log a member into the relevant programme's website. Request and response samples can be found at
https://secure.rewards4group.com/ws2016n/soap.asmx?op=GetMemberDeepLink
MemberResponse
GetMemberDetails (int iRewardsID)
2.14.1 Request Parameters
| Parameter |
Description |
Data Type |
Required? |
| iRewardsID |
Unique identifier of Rewards4 member (Rewards4 ID) |
Integer |
Yes |
2.14.2 Response
The response of this operation is MemberResponse and its properties are listed below.
MemberResponse Object
| Value |
Description |
Data Type |
| iAvailablePoints |
The amount of available points on the member's account |
Integer |
| iAvailablePointsValue |
The value (GBP) of the points balance found in iAvailablePoints |
Decimal |
| sDeepLink |
A Rewards4 Deep Link |
String |
| iActivationStatus |
An integer used to represent the activation status of a member |
Integer |
| bError |
Indicates if an error has occurred |
Boolean |
| iErrorCode |
An integer used to show what error has occurred if any |
Integer |
Activation Status Response Codes
| Value |
Description |
Data Type |
| 2 |
Inactive Rewards4 Account |
Integer |
| 1 |
Member has set Rewards4 Password |
Integer |
| 0 |
Member has not set Rewards4 Password |
Integer |
Error Response Codes
| Value |
Description |
Data Type |
| -1 |
Invalid Rewards4 ID |
Integer |
| -2 |
Rewards4 ID not found |
Integer |
| -3 |
An error has occurred |
Integer |