getUserPoints
- Home
- Points & Loyalty
- SvcPoints
- getUserPoints
getUserPoints
Gets a user’s current and total number of points.
Parameters
| Name | Description |
| node_id required | Node ID |
| user_id required | User ID to adjust/retrieve points for. |
| output optional | The response output format. Accepts JSON and XML. |
Request Syntax
| https://services.onesite.com/rest/svcPoints?action=getUserPoints&node_id=188234&user_id=229928503&devkey=[devkey] |
JSON Response
|
1 2 3 4 5 6 7 8 9 |
{ "service":"svcPoints", "action":"getUserPoints", "item":{ "totalPoints":"140", "currentPoints":"140" }, "message":"User Points Successfully Retrieved" } |
Service Information
| Service | svcPoints |
| Method | getUserPoints |
| Type | REST |
| Response Types | JSON, XML |