team_member_get ()
Function prototype | team_member_get (session, member, team, type) |
---|---|
API Version | All |
SOAP, REST (Since API Version 2.7.31) |
Description
Returns the information of a member of a TEAM including the ROLES assigned
Required permissions: The active user must have role XXXX. Otherwise an INSUFFICIENT_PRIVILEGES error will be returned.
Input parameters: |
|
Output parameters: |
|
Request example 1
Example requesting the information of a TEAM as the member of another parent TEAM
team_member_get("LC383DDD8D8", 3441, 1, "TEAM")
Response
The response format is XML when the function has been invoked via the SOAP API, and JSON when it has been invoked via the REST API
Request example 2
Example requesting the information of a USER as the member of another parent TEAM
team_member_get("LC383DDD8D8", 5325, 1, "USER")
Response
Return Error codes
ERROR CODE |
|
---|---|
INVALID_TOKEN | The session token provided is not valid |
TEAM.NOT_FOUND | The parent TEAM was not found |
WRONG_PARAMS | The type of user is invalid. |