awardPoints
- Home
- Points & Loyalty
- SvcPoints
- awardPoints
awardPoints
Awards points to a user.
Parameters
Name | Description |
node_id required | Node ID |
user_id required | User ID to adjust/retrieve points for. |
numPoints required | Number of points to award. |
eventName optional | ONEsite event name. |
output optional | The response output format. Accepts JSON and XML. |
Request Syntax
https://services.onesite.com/rest/svcPoints?action=awardPoints&node_id=188234&user_id=229928503&numPoints=20&devkey=[devkey] |
JSON Response
1 2 3 4 5 6 7 8 9 |
{ "service":"svcPoints", "action":"awardPoints", "code":1, "message":"Points Successfully Awarded", "item":{ "pointsAwarded":20 } } |
Service Information
Service | svcPoints |
Method | awardPoints |
Type | REST |
Response Types | JSON, XML |