Close

Close
Close

Close YES
Close NO
 
API Reference

PurchaseUserReward



Purchases a reward from an App Domain's reward store.
Allows a user that is logged in to purchase a reward from the reward store
https://redcritterconnecter.com/services/gamificationv1/PurchaseUserReward?sessionID={sessionID}&appID={appID}&appDomainID={appDomainID}&rewardID={rewardID}&purchasePrice={purchasePrice})
NameTypeRequiredDescription
SessionIDstringyesThe SessionID is established when you are currently logged into the system using your RedCritter username or email and password
AppIDint64yesThe appID is the ID number of the App. You can determine this number using the GetRewards API command.
AppDomainIDint64yesThe appDomainID is the number of the App Domain ID. You can determine this number using the GetRewards API command.
RewardIDstringyesThis is the ID of the reward you would like to purchase. You can determine this ID using the GetRewards API command.
PurchasePriceint32yesThis is the purchase price of the reward in the RedCritter reward store. You can determine this price using the GetRewards API command.

Code Samples

Javascript, C#

Responses

JSON, XML
API Information
Use Runtime
Method HTTP GET
Invites User No
Billable No
Response JSON,XML
API Version 1