Skip to main content
Version: 2.2.3

changeUserStatus

This method allows enabling or disabling a system user. For this operation, it is necessary to follow the standard documented below.

Java class
Requestweb/wwwroot/ws/java/administration/ChangeUserStatusRequestType.java
Returnweb/wwwroot/ws/java/administration/ChangeUserStatusResponseType.java

Request:

ID #RequiredDescription
IdUserXUser ID
UserStatusXUser status (1- Active, 2 - Inactive)

Request structure:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:admin">
<soapenv:Header/>
<soapenv:Body>
<urn:changeUserStatus>
<!--You may enter the following 2 items in any order-->
<urn:IdUser>?</urn:IdUser>
<urn:UserStatus>?</urn:UserStatus>
</urn:changeUserStatus>
</soapenv:Body>
</soapenv:Envelope>

Return:

ID #Description
StatusSUCCESS: SUCCESS
FAILURE: FAILURE
DetailSUCCESS: User enabled
SUCCESS: User disabled
FAILURE: Message regarding the error that occurred
CodeSUCCESS: 1.
FAILURE: Code regarding the error that occurred
CodeDescription
7Null user ID
12Inexistent user
50UserStatus not entered
51The userStatus field accepts only the (1,2) values