This will return the unique identifier (Rewards4 ID), points balance, points balance value, activation status and a Rewards4 Deep Link of a Rewards4 member by matching an Email Address or Source ID. Request and response samples can be found at https://secure.rewards4group.com/ws2016n/soap.asmx?op=GetMemberDetails_ByEmailAddressOrSourceID
MemberResponseWithID GetMemberDetails_ByEmailAddressOrSourceID (string sEmail, string sSourceID)
| Parameter | Description | Data Type | Required? |
|---|---|---|---|
| sEmail | Email address of member / customer | String | ** |
| sSourceID | SourceID of member / customer | String | ** |
** Email Address or Source ID needs to be passed in order to return a valid response
The response of this operation is MemberResponse and it's properties are listed below.
| MemberResponseWithID Object | ||
|---|---|---|
| Value | Description | Data Type |
| iRewardsID | Unique identifier of Rewards4 member (Rewards4 ID) | Integer |
| 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 | Member cannot be found | Integer |
| -2 or -3 | An error has occurred | Integer |