Account Owner, Account Administrators, Department Administrators, or custom roles.
Department Administrators and users with a custom role can award with points only users from the departments they manage and their sub-departments.
Parameter | Type | Description |
---|---|---|
token (required) | string | Access token. You can obtain a token by making a request. |
userId (required) | string | The ID of the user whom you want to award with points. |
amount (required) | string | The amount of points to be awarded. |
reason (required) | string | The reason for awarding the points. |
Type | Description |
---|---|
Permission denied | The user doesn't have enough permissions to fulfill the request.. |
Wrong parameters | The request can't be processed as it doesn't include all the necessary parameters or some of the parameters are wrong. |
<?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> <AwardGamificationPointsRequest> <credentials> <token>p-1sJDjmULL5DdpXPJTcbm4jVIaWVHvNmrjAxATRbNE</token> </credentials> <userId>2c180ffc-8841-11e9-b68a-0242c0a85016</userId> <amount>80</amount> <reason>Successful course completion</reason> </AwardGamificationPointsRequest> </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:SuccessResult> <ns1:success>true</ns1:success> </ns1:SuccessResult> </SOAP-ENV:Body> </SOAP-ENV:Envelope> |