2.1 Allocate Points as Currency

Used to add points to an existing Rewards4 member after a successful transaction. Rewards4 will convert the value into a points earnt amount. Request and response samples can be found at https://soapservices.rewards4sport.com/soap.asmx?op=AllocatePointsAsCurrency

int AllocatePointsAsCurrency (int iRewardsID, decimal dValue, datetime dDate, datetime dActivationDate, string sNote, string sSource)


2.1.1 Request Parameters



Parameter Description Data Type Required? 
iRewardsID Unique identifier of Rewards4 member (Rewards4 ID) Integer Yes
dValue Currency value of transaction less any redemption amount used Decimal Yes
dDate Date & time of transaction DateTime Yes
dActivationDate Date & time of when points will become available DateTime Yes
sNote Description of transaction String Yes
sSource Transaction order number or unique identifier String Yes

If you do not need to send dActivationDate the value should be set to '1900-01-01'

2.1.2 Response


The operation will return one of the below codes.

Code Description Data Type
-1 iPoints value is set to zero Integer
-2 iPoints value is less than zero Integer
-3 An error has occurred Integer
1 Points successfully added Integer