Get a list of work teams

Your application can retrieve a list of work teams by using the getWorkteamContexts task.

This task returns a list of work team contexts with the work team name and ID. The result is sorted by name and includes the values returned and the total number of values.

When saving a topic to a topic workflow configuration that is set to one and only one work team, this task can be used to populate the list of work teams in the Save to Topic dialog box.

The getWorkteamContexts task returns WorkteamContexts with a list of work team names and IDs.

WorkteamContexts JSON


{
    "topicsServiceContext": {
       TopicServiceContext object
    },
    "workteamContexts": [
      {
        "id": “number”,
        "name": "string"
      }
    ]
}