Adds additional information about a transaction to a member's Rewards4 profile. Request and response samples can be found at https://soapservices.rewards4sport.com/soap.asmx?op=AddMemberData
int AddMemberData (List<MemberData>)
| MemberData Object | |||
|---|---|---|---|
| Parameter | Description | Data Type | Required? |
| iRewardsID | Unique identifier of Rewards4 member (Rewards4 ID) | Integer | Yes |
| sSourceID | Transaction Order Number | String | Yes |
| sDescription | Description of the data being added | String | Yes |
| sValue | Order data to be added | String | Yes |
Only certain data is allowed to be passed in the sDescription and sValue parameters. The sDescription possible values are listed below.
For example if two tickets have been purchased sDescription would be "Tickets" and sValue would be 2.
| sDescription Value | Data to be passed in sValue |
|---|---|
| Tickets | Number of Tickets |
| PackageType | Order Package Type |
| EventType | Order Event Type |
| EventName | Order Event Name |
| EventDate | Order Event Date |
| PackageValue | Order Value |
Note: If an order consists of more than one PackageType, EventType or EventName then this API call is made for each unique PackageType, EventType or EventName.
The operation will return one of the below codes.
| Code | Description | Data Type |
|---|---|---|
| -3 | An error has occurred | Int |
| 1 | Data successfully added | Int |