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)
| Parameter | Description | Data Type | Required? |
|---|---|---|---|
| iRewardsID | Unique identifier of Rewards4 member (Rewards4 ID) | Integer | Yes |
The response of this operation is MemberResponse and it's 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 occured | Boolean |
| iErrorCode | An integer used to show what error has occured if any | Boolean |
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 |