Skip to content

findPublicTeams ​

Returns Teams that have been defined as "Public" within SAM. NOTE: this currently only applies to MI (not NI yet) and is used for MI Rep Registrations.

Request ​

http
GET /rest/user/public/teams

Headers ​

HeaderRequiredDescription
x-nextinteract-authtokenYesAuth token returned from loginUser

Parameters ​

ParameterTypeRequiredDescription
cIdYesCompany Id (NOTE: the requesting user must be associated with this company via NI or MI)
regoTeamsOnlybooleanNoBoolean value (true|false) indicating that 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 Reponse:

json
[
  {
    "teamId": 22,
    "teamName": "Equity Investments"
  },
  {
    "teamId": 21,
    "teamName": "Property Investments"
  }
]

Errors ​

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