Appearance
getTeamsForTeamAdmin ​
Returns a list of Teams that are User is assigned to as a Team Admin. Is specific to a given MY wall/team.
Request ​
http
GET rest/user/company/{companyId}/teamadmin/teams/Headers ​
| Header | Required | Description |
|---|---|---|
x-nextinteract-authtoken | Yes | Auth token returned from loginUser |
Parameters ​
Path Params: companyId - (integer, required) company id of the company for which teams are being requested.
Response ​
200 OK ​
json
[
{
"teamId": 6,
"teamName": "Illinois Myeloma Meetup"
},
{
"teamId": 7,
"teamName": "Chicago Myeloma Support Group"
}
]Errors ​
| Exception | Description |
|---|---|
WSInvalidParameterException | See Error Definitions |
WSInvalidAuthTokenException | See Error Definitions |
WSCacheServiceException | See Error Definitions |
WSUserServiceException | See Error Definitions |