getUserData
This method returns user data, including departments, positions and teams.
To search for the data of a user, it is necessary to follow the standard documented below:
Java class | |
---|---|
Request | web\wwwroot\ws\java\admin\GetUserDataRequestType.java |
Return | web\wwwroot\ws\java\admin\GetUserDataResponseType.java |
Request:
ID # | Required | Description |
---|---|---|
IdUser | X | ID of the user to be located |
Request structure:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:admin">
<soapenv:Header/>
<soapenv:Body>
<urn:getUserData>
<urn:iduser>?</urn:iduser>
</urn:getUserData>
</soapenv:Body>
</soapenv:Envelope>
Return:
ID # | Description |
---|---|
Date | User: User ID Login: Name: E-mail: Phone #: Position: Returns a list of objects containing the following data: idposition: Position ID # nmposition: Position name Department: Returns a list of objects containing the following data: nmdepartment: Department ID # nmposition: Department name Team: Returns a list of objects containing the following data: idteam: Team ID # nmteam: Team name |
Return | SUCCESS: 1. FAILURE: -1 |
Status | SUCCESS: SUCCESS FAILURE: FAILURE |
Detail | SUCCESS: Executed successfully FAILURE: message regarding the error that occurred. |
Code | SUCCESS: 1. FAILURE: Code regarding the error that occurred: â–ª 12 - User not found. â–ª 56 - User was not registered â–ª 71 - You do not have permission to view this record |