Skip to content

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/teams

Headers ​

HeaderRequiredDescription
x-nextinteract-authtokenYesAuth token returned from loginUser

Parameters ​

ParameterTypeRequiredDescription
eventUUIDYesUnique Id UUID of an Event (gotten from SAM in Event form - Show More)
regoTeamsOnlybooleanNoBoolean 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).
teamsUsingPushNotificationsstringNoString 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 ​

ExceptionDescription
WSCompanyServiceUnavailableExceptionSee Error Definitions
WSInvalidParameterExceptionSee Error Definitions
WSInvalidAuthTokenExceptionSee Error Definitions
WSInsufficientPermissionsExceptionSee Error Definitions
WSCompanyServiceExceptionSee Error Definitions
WSEventServiceExceptionSee Error Definitions
WSCacheServiceExceptionSee Error Definitions
WSInternalExceptionSee Error Definitions