editUser
This method allows editing the data of a user. To edit it, it is necessary to follow the standard documented below.
Java class | |
---|---|
Request | web\wwwroot\ws\java\admin\EditUserRequestType.java |
Return | web\wwwroot\ws\java\admin\EditUserResponseType.java |
Request:
ID # | Required | Description |
---|---|---|
ID | X | User ID. |
NAME | X | User name. |
LOGIN | X | Name used by the user to log into the system |
PASS | X | User password. |
X | User e-mail address. | |
CDLEADER | Leader ID. | |
LANGUAGE | Enter the user language code, in accordance with the "Database Encoding" column of the Localization section, in the System Requirements document |
Request structure:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:admin">
<soapenv:Header/>
<soapenv:Body>
<urn:editUser>
<!--You may enter the following 7 items in any order-->
<urn:ID>?</urn:ID>
<urn:NAME>?</urn:NAME>
<urn:LOGIN>?</urn:LOGIN>
<urn:PASS>?</urn:PASS>
<urn:EMAIL>?</urn:EMAIL>
<!--Optional:-->
<urn:LANGUAGE>?</urn:LANGUAGE>
<!--Optional:-->
<urn:CDLEADER>?</urn:CDLEADER>
</urn:editUser>
</soapenv:Body>
</soapenv:Envelope>
Return:
ID # | Description |
---|---|
return | SUCCESS:Â Primary key of the position (CDUSER). FAILURE: -1 |
Status | SUCCESS: SUCCESS FAILURE: FAILURE |
Code | SUCCESS: 1. FAILURE: Code regarding the error that occurred. |
RecordId | SUCESS: User ID. FAILURE: N/A |
RecordKey | SUCCESS: User primary key. FAILURE: N/A |
Code | Description |
---|---|
3 | field¹: The maximum size for this field is 50. |
4 | Error identifying the user. There is more than one record with the same login. |
5 | It is not allowed to use quotation marks in the login field. |
6 | Null user login. |
7 | Null user ID. |
8 | Null user name. |
9 | Null password. |
10 | Null or inexistent language. |
11 | The entered leader does not exist. |
12 | Inexistent user. |
15 | Inexistent department. |
16 | Inexistent position. |
18 | The user ID cannot be equal to the leader ID #. |
19 | Invalid relationship between position and department. |
59 | Language not supported by the database. |
60 | Inexistent language. |
89 | Null user e-mail. |
info
¹ - IDUSER
, IDLOGIN