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 | |
---|---|
Request | web\wwwroot\ws\java\generic\NewTeamMemberRequestType.java |
Return | web\wwwroot\ws\java\generic\NewTeamMemberResponseType.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) |
SUBLEVELS | Consider Organizational Unit sublevels: (By default the value is 2) 1 - Yes; 2 - No. | |
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: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 |
---|---|
SUCCESS | Status: SUCCESS Code: Code added by method Detail: Record added successfully RecordID: Record ID # of record added by the method. |
FAILURE | Status: FAILURE Code: -1 Detail: In the event of a failure, a message returns with the error that occurred. |