Appearance
getTeamAssetsForTeamAdmin ​
Returns a list of assets (legacy brochures) in a given Team where the calling User is assigned to as a Team Admin of that Team AND has mi_connection.is_team_admin=Y. Is specific to a given MY wall/team/user.
Request ​
http
GET rest/user/company/{companyId}/teamadmin/teams/{teamId}/brochuresHeaders ​
| 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 users are being requested. teamId - (integer, required) team id of team for which users are being requested.
Response ​
200 OK ​
json
[
{
"assetId": 64,
"assetName": "Our Announcements",
"assetType": "html",
"assetInternalId": "Announcements"
},
{
"assetId": 65,
"assetName": "Patient Resources",
"assetType": "smartlib",
"assetInternalId": "Resources"
},
{
"assetId": 66,
"assetName": "Patient Directory",
"assetType": "smartdir",
"assetInternalId": "Members"
}
]Errors ​
| Exception | Description |
|---|---|
WSInvalidParameterException | See Error Definitions |
WSInvalidAuthTokenException | See Error Definitions |
WSCacheServiceException | See Error Definitions |
WSUserServiceException | See Error Definitions |