
Webex - Search for Team
This atomic belongs to the Cisco Webex atomic group.
Gets information about a team from Webex by team name or team ID. If a name is provided, the name must match exactly. If an ID is provided, that team is fetched directly.
Note: This atomic will only search the first 100 teams that the searching user is a member of.
Target: Webex integration target or an HTTP Endpoint for "webexapis.com" with no path
Account Key: None if using an integration-provided target, access token if using an HTTP endpoint target
Steps:
[] Validate that either a team name or team ID was provided
[] Set the query string based on the search parameters
[] Build the authorization header
[] Send the request to the Webex API
[] Check if the request was successful:
[]> If we searched by team ID and got a result, set the output
[]> If we searched by team name, convert the results to a table and loop through each result checking if the name matches. If the name matches, return that team's information
More information about this API: https://developer.webex.com/docs/api/v1/teams/list-teams