Page tree
Skip to end of metadata
Go to start of metadata

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
credentials (required)credentialsRead the description of the Credentials object.

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="http://schemas.xmlsoap.org/soap/envelope/"
                     xmlns="http://ispringlearn.com/go/services/api/soap">
    <SOAP-ENV:Body>
      <GetGamificationPointsRequest>
        <credentials>
          <accountUrl>http://myaccount.ispringlearn.com</accountUrl>
          <email>email@email.com</email>
          <password>password</password>
        </credentials>
      </GetGamificationPointsRequest>
    </SOAP-ENV:Body>
  </SOAP-ENV:Envelope>

Sample Response

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://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>
  • No labels