RE: New Message from Absaar Javed in Finesse - General Questions: RE: Can a

Version 1
    This document was generated from CDN thread

    Created by: David Lender on 08-04-2013 09:27:13 AM
    Use the Get User API which contains the teams to which the Supervisor belongs.

    <User>
    <uri>/finesse/api/User/{id}</uri>
    <roles>
    <role>Agent</role>
    <role>Supervisor</role>
    </roles>
    <loginId>{id}</loginId>
    <loginName>csmith</loginName>
    <state>NOT_READY</state>
    <stateChangeTime>2012-03-01T17:58:21Z</stateChangeTime>
    <extension>1001001</extension>
    <firstName>Chris</firstName>
    <lastName>Smith</lastName>
    <teamId>500</teamId>
    <teamName>Sales</teamName>
    <dialogs>/finesse/api/User/{id}/Dialogs</dialogs>
    <teams>
    <Team>
    <uri>/finesse/api/Team/{id}</uri>
    <id>{team-id}</id>
    <name>First Line Support</name>
    </Team>
    <Team>
    <uri>/finesse/api/Team/{id}</uri>
    <id>{team-id}</id>
    <name>Second Line Support</name>
    </Team>
    <Team>
    <uri>/finesse/api/Team/{id}</uri>
    <id>{team-id}</id>
    <name>Third Line Support</name>
    </Team>
    ... other teams ...
    </teams>
    </User>