Skip to main content
Version: 2.2.2

newTeamMember

This method allows adding members of a team. To add each of these items, it is necessary to follow the standard documented below.

Java class
Requestweb\wwwroot\ws\java\generic\NewTeamMemberRequestType.java
Returnweb\wwwroot\ws\java\generic\NewTeamMemberResponseType.java

Request:

ID #RequiredDescription
IDTEAMXTeam ID #;
FGTYPEXMember type:
1 - Organizational unit
2 - Position
3 - Organizational unit/Position
4 - User
IDDEPARTMENTXOrganizational unit ID #. (Mandatory when the FGTYPE is equal to 1 or equal to 3)
SUBLEVELSConsider Organizational Unit sublevels: (By default the value is 2)
1 - Yes;
2 - No.
IDPOSITIONXPosition ID # (mandatory when the FGTYPE is equal to 2 or equal to 3)
IDUSERXUser ID (mandatory when FGTYPE is equal to 4)

Request structure:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:generic">
<soapenv:Header/>
<soapenv:Body>
<urn:newTeamMember>
<!--You may enter the following 6 items in any order-->
<urn:IDTEAM>?</urn:IDTEAM>
<urn:FGTYPE>?</urn:FGTYPE>
<urn:IDDEPARTMENT>?</urn:IDDEPARTMENT>
<urn:SUBLEVELS>?</urn:SUBLEVELS>
<urn:IDPOSITION>?</urn:IDPOSITION>
<urn:IDUSER>?</urn:IDUSER>
</urn:newTeamMember>
</soapenv:Body>
</soapenv:Envelope>

Return:

ID #Description
SUCCESSStatus: SUCCESS
Code: Code added by method
Detail: Record added successfully
RecordID: Record ID # of record added by the method.
FAILUREStatus: FAILURE
Code: -1
Detail: In the event of a failure, a message returns with the error that occurred.