Skip to main content
Version: 2.2.0

deleteTeamMember

This method allows deleting members of a team. To delete each of these items, the standard documented below must be followed.

Java class
Requestweb\wwwroot\ws\java\generic\DeleteTeamMemberRequestType.java
Returnweb\wwwroot\ws\java\generic\DeleteTeamMemberResponseType.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)
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:deleteTeamMember>
<!--You may enter the following 5 items in any order-->
<urn:IDTEAM>?</urn:IDTEAM>
<urn:FGTYPE>?</urn:FGTYPE>
<urn:IDDEPARTMENT>?</urn:IDDEPARTMENT>
<urn:IDPOSITION>?</urn:IDPOSITION>
<urn:IDUSER>?</urn:IDUSER>
</urn:deleteTeamMember>
</soapenv:Body>
</soapenv:Envelope>

Return:

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