Team

The Team object 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. For more information about these parameters, see User API Parameters.

The Team object is structured as follows:

Code Snippet
Copy<Team>
   <uri>/finesse/api/Team/34</uri>
   <id>34</id>
   <name>My Team</name>
   <users>
      <User>
         <uri>/finesse/api/User/1234/</uri>
         <loginId>1234</loginId>
         <firstName>Charles</firstName>
         <lastName>Brown</lastName>
         <dialogs>/finesse/api/User/1234/Dialogs</dialogs>
         <extension>1001001</extension>
         <pendingState></pendingState>
         <state>LOGOUT</state>
         <stateChangeTime>2012-03-01T17:58:21.345Z</stateChangeTime>
      </User>
      <User>
         <uri>/finesse/api/User/1235/</uri>
         <loginId>1235</loginId>
         <firstName>Jack</firstName>
         <lastName>Brawn</lastName>
         <dialogs>/finesse/api/User/1235/Dialogs</dialogs>
         <extension>1001002</extension>
         <pendingState></pendingState>
         <state>NOT_READY</state>
         <reasonCode>
            <category>NOT_READY</category>
            <code>12</code>
            <label>Lunch Break</label>
            <id>1</id>
            <uri>/finesse/api/ReasonCode/1</uri>
         </reasonCode> 
         <stateChangeTime>2012-03-01T18:22:25.123Z</stateChangeTime>
      </User>
      ...Other Users...
   </users>
</Team>