/mcpfor (var queueId in _queueCollection) { if (_queueCollection.hasOwnProperty(queueId)) { _queue = _queueCollection[queueId]; etc... } } For additional parameters and methods, see RestCollectionBase Common Parameters, on page 452. Team Class finesse.restservices.Team Extends finesse.restservices.RestBase Common Parameters Represents a team and contains the URI, team name, and the users associated with the team. The Team object does not contain a full user object for each of the team's users, but a summary object that contains the User URI, loginId, firstName, lastName, ReasonCode, and extension parameters. Example var _team = new finesse.restservices.Team({ id: id, onLoad: _onTeamLoad, onChange: _onTeamChange, onError: _onTeamError }) For additional parameters and methods, see RestBase Common Parameters, on page 450. Methods getId() Retrieves the team Id. Returns {String} The Id of the team. getName() Retrieves the team name. Returns {String} The name of the team. getUsers(options) Retrieves a collection of the users in the team. Parameters Description Type Name Options for the Users collection object. For additional parameters and methods, see RestCollectionBase Common Parame Object options Cisco Finesse Web Services Developer and JavaScript Guide, Release 12.5(1) 490 Cisco Finesse JavaScript APIs Team