AVAILABLE WITH BUSINESS SUBSCRIPTION
Method: getGamificationPoints
Permissions to Run the Request
Account Owner, Account Administrators, Department Administrators, or users with a custom role.
Department Administrators and users with a custom role can get a list of users and their points belonging only to the department they manage and its sub-departments.
Request Parameters
Parameter | Type | Description |
---|
credentials (required) | credentials | Read the description of the Credentials object. |
userIds (optional) | string | Filter by user ID. You can get points for certain users. |
Possible Errors
Error | Description |
---|
Permission denied | The user doesn't have enough permissions to handle the request. For example, Department Administrator can't get a list of users from a department they don't manage. |
Sample Request
<?xml version="1.0" encoding="utf-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="https://schemas.xmlsoap.org/soap/envelope/"
xmlns="https://ispringlearn.com/go/services/api/soap">
<SOAP-ENV:Body>
<GetGamificationPointsRequest>
<credentials>
<accountUrl>https://myaccount.ispringlearn.com</accountUrl>
<email>email@email.com</email>
<password>password</password>
</credentials>
</GetGamificationPointsRequest>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
XML
Sample Response
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="https://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="https://ispringlearn.com/go/services/api/soap">
<SOAP-ENV:Body>
<ns1:GetGamificationPointsResult>
<ns1:user_points>
<ns1:userId>2c180ffc-8841-11e9-b68a-0242c0a85016</ns1:userId>
<ns1:points>421</ns1:points>
</ns1:user_points>
</ns1:GetGamificationPointsResult>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
XML