Appearance
findPublicEventTeams ​
Returns Event Teams that have been defined as "Public" within SAM. NOTE: this currently only applies to MI (not NI yet) and is mainly used for Event push notifications
Request ​
http
GET /rest/user/public/events/teamsHeaders ​
| Header | Required | Description |
|---|---|---|
x-nextinteract-authtoken | Yes | Auth token returned from loginUser |
Parameters ​
| Parameter | Type | Required | Description |
|---|---|---|---|
eventUUID | Yes | Unique Id UUID of an Event (gotten from SAM in Event form - Show More) | |
regoTeamsOnly | boolean | No | Boolean value (true|false) indicating that Event Teams should be filtered on whether they relate to a Rego Asset or not. NOTE: default value is "true" meaning rego teams are always returned unless otherwise specified (changed in March 2016). |
teamsUsingPushNotifications | string | No | String value (true | false | all) indicating that only Teams that have been flagged in SAM by field "Uses Push Notifications?" should be returned. Default value is False (No). Value of "all" means regoTeams will not be filtered and all Teams with Push Notification = Y will be returned. |
Response ​
200 OK ​
JSON Response: NOTE: under the covers teamId returned is actually eventTeamId but for compatibility with getPublicEvents() API they are the same.
json
[
{
"teamId": 22,
"teamName": "Neurologists"
},
{
"teamId": 21,
"teamName": "Oncologists"
}
]Errors ​
| Exception | Description |
|---|---|
WSCompanyServiceUnavailableException | See Error Definitions |
WSInvalidParameterException | See Error Definitions |
WSInvalidAuthTokenException | See Error Definitions |
WSInsufficientPermissionsException | See Error Definitions |
WSCompanyServiceException | See Error Definitions |
WSEventServiceException | See Error Definitions |
WSCacheServiceException | See Error Definitions |
WSInternalException | See Error Definitions |