Navigation: Integration via SOAP web services > Published web services > Generic >
This method makes it possible to add 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
ID #
Required
Description
IDTEAM
X
Team ID #;
FGTYPE
Member type:
1 – Organizational unit
2 - Position
3 – Organizational unit /Position
4 – User
IDDEPARTMENT
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
Position ID # (mandatory when the FGTYPE is equal to 2 or equal to 3)
IDUSER
User ID # (mandatory when the FGTYPE is equal to 4)
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.