AVAILABLE WITH BUSINESS SUBSCRIPTION

Method: getGamificationPoints

Permissions to Run the Request

Account Owner, Account AdministratorsDepartment 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

ParameterTypeDescription
token (required)stringAccess token. You can obtain a token by making a request.
userIds (optional)stringFilter by user ID. You can get points for certain users.

Possible Errors

ErrorDescription
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>
          <token>p-1sJDjmULL5DdpXPJTcbm4jVIaWVHvNmrjAxATRbNE</token>
        </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