AVAILABLE WITH BUSINESS SUBSCRIPTION
Request: GET /gamification/points
Permissions to Run the Request
Account Owner, Account Administrators, Department Administrators, Publishers, or custom roles.
Department Administrators, Publishers, and users can get a list of users belonging to departments they manage and their sub-.
Request Headers and Parameters
Header | Description |
---|
Authorization (required) | Access token. You can obtain a token by making a request. |
Parameter | Description |
---|
userIds (optional) | Filter by user ID. You can get points for certain users. |
Response Codes
Code | Text | Description |
---|
200 | OK | The request has been successfully processed. The response body contains the XML data regarding users and their points. |
400 | Bad Request | A request error. |
401 | Unauthorized | An authorization error. |
403 | Permission denied | The user doesn't have enough permissions |
Sample Request
GET /gamification/points https/1.1
Host: api-learn.ispringlearn.com
Authorization: p-1sJDjmULL5DdpXPJTcbm4jVIaWVHvNmrjAxATRbNE
XML
Sample Response
https/1.1 200 OK
<?xml version="1.0" encoding="UTF-8"?>
<response>
<userPointsInfo>
<userId>2c180ffc-8841-11e9-b68a-0242c0a85016</userId>
<points>421</points>
</userPointsInfo>
</response>
XML