Skip to main content
Version: 2.2.1

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
Requestweb\wwwroot\ws\java\admin\GetUserDataRequestType.java
Returnweb\wwwroot\ws\java\admin\GetUserDataResponseType.java

Request:

ID #RequiredDescription
IdUserXID 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
DateUser: 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
ReturnSUCCESS: 1.
FAILURE: -1
StatusSUCCESS: SUCCESS
FAILURE: FAILURE
DetailSUCCESS: Executed successfully
FAILURE: message regarding the error that occurred.
CodeSUCCESS: 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