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

Method: withdrawGamificationPoints

Permissions to Run the Request

Account Owner, Account Administrators, Department Administratorsor custom roles

Department Administrators and users with a custom role can deduct points from users belonging to the departments they manage and their sub-departments.

Request Headers

credentials (required)credentialsRead the description of the Credentials object.
userId (required)stringThe ID of the user whose points you want to deduct.
amount (required)stringThe amount of points to be deducted.
reason (required)stringThe reason for deducting points.

Possible Errors

Permission deniedThe user doesn't have enough permissions to fulfill the request..
Wrong parametersThe request can't be processed as it doesn't include all the necessary parameters or some of the parameters are wrong.

Sample Request

<?xml version="1.0" encoding="utf-8"?>
  <SOAP-ENV:Envelope xmlns:SOAP-ENV=""
        <reason>Hasn't passed the course</reason>

Sample Response

<?xml version="1.0" encoding="UTF-8"?>
	<SOAP-ENV:Envelope xmlns:SOAP-ENV=""
  • No labels