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.
Parameter | Type | Description |
---|---|---|
token (required) | string | Access token. You can obtain a token by making a request. |
userIds (optional) | string | Filter by user ID. You can get points for certain users. |
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. |
<?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 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> |