deleteTeamMember
This method allows deleting members of a team. To delete each of these items, the standard documented below must be followed.
| Java class | |
|---|---|
| Request | web\wwwroot\ws\java\generic\DeleteTeamMemberRequestType.java |
| Return | web\wwwroot\ws\java\generic\DeleteTeamMemberResponseType.java |
Request:
| ID # | Required | Description |
|---|---|---|
| IDTEAM | X | Team ID #; |
| FGTYPE | X | Member type: 1 - Organizational unit 2 - Position 3 - Organizational unit/Position 4 - User |
| IDDEPARTMENT | X | Organizational unit ID #. (Mandatory when the FGTYPE is equal to 1 or equal to 3) |
| IDPOSITION | X | Position ID # (mandatory when the FGTYPE is equal to 2 or equal to 3) |
| IDUSER | X | User 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 |
|---|---|
| SUCCESS | Status: SUCCESS Code: 1 Detail: Record deleted successfully. |
| FAILURE | Status: FAILURE Code: -1 Detail: In the event of a failure, a message returns with the error that occurred. |