Can a User be part of more than 1 team?

Version 1
    This document was generated from CDN thread

    Created by: Absaar Javed on 08-03-2013 05:29:54 AM
    Can a user be the part of more than one teams?

    Subject: RE: New Message from Absaar Javed in Cisco Finesse - General Questions: RE:
    Replied by: David Lender on 08-03-2013 09:18:58 AM
    A user (agent) can NOT be part of more than one team.

    Subject: RE: New Message from Absaar Javed in Cisco Finesse - General Questions: RE:
    Replied by: Absaar Javed on 11-03-2013 01:30:42 AM
    There is a function in finesse.js,
    /**
         * Getter for the team id.
         * @returns {String} The team id.
         */
        getId: function () {
            this.isLoaded();
            return this.getData().id;
        },
    how can I access this method?

    Subject: RE: New Message from Absaar Javed in Cisco Finesse - General Questions: RE:
    Replied by: David Lender on 11-03-2013 09:47:18 AM
    From the SampleGadget_Final that comes with the Finessse javascript library, here is an example:

    document.getElementById('userId').innerHTML = user.getId();

    Subject: RE: Cisco Interaction Manager in finesse desktop container as a gadget
    Replied by: Absaar Javed on 12-03-2013 12:45:33 AM
    Thanx David, but this will give me the userID i.e the ID user is logged in with, on the other hand I need to get the team ID of the user, functions name are same but they are definitely not going to be called via same object, so I need help with the object using which I can access getId() corresponding to teamId of a user.
     

    Subject: RE: Cisco Interaction Manager in finesse desktop container as a gadget
    Replied by: Absaar Javed on 12-03-2013 02:49:27 AM
    Plus there is an API in finesse 9.1.1 "Dialog - Make a consult call request", its URI is "http://<server>/finesse/api/Dialog/<dialogId>", now if we have to make a consult call to one of the users from a given list, how do we get the "dialogId" of that user whom we want to transfer our call, inorder to complete the above API's URI.(the person transfering call is a non-administrator user).

    Subject: RE: New Message from Absaar Javed in Cisco Finesse - General Questions: RE:
    Replied by: David Lender on 12-03-2013 09:04:18 AM
    The Finesse javascript library does not contain a function to get the teamid of a user, even though teamid is part of the WebServices API.

    Subject: RE: New Message from Absaar Javed in Cisco Finesse - General Questions: RE:
    Replied by: David Lender on 12-03-2013 09:07:18 AM
    You do not use the dialogId of the user to make the consult call request to.  You specify the media address of the destination.

    Subject: RE: Can a User be part of more than 1 team?
    Replied by: Absaar Javed on 20-03-2013 08:51:45 AM
    With refrence to CISCO Finesse Web Services Guide for Release 9.1(1), page number 67, in "Dialog - Initiate Single Step Transfer" API,  "Therefore, the dialogId in the URL represents the Dialog ID of the active call."
    URL is as follows : http://<server>/finesse/api/Dialog/<dialogId>
    How can I get the value of this "dialogId" inorder to fire the corresponding http PUT request?

    Subject: RE: New Message from Absaar Javed in Cisco Finesse - General Questions: RE:
    Replied by: David Lender on 20-03-2013 09:13:35 AM
    You should receive a list of dialogs which contains the dialog object in the XMPP message which contains the uri which has the dialog ID

    See the Chapter on Cisco Finesse Notifications in the Cisco Finesse Web Services Guide.  You will receive a Dialog notification when something changes to the User’s list of dialogs.
    (When they login,  each agent is automatically subscribed to the following notification feeds, where {id} represents the agent
    ID for that agent:
    • User - /finesse/api/User/{id}
    • Dialogs - /finesse/api/User/{id}/Dialogs

    From the Dialog object (see Dialog – Get Dialog) there is a uri

    <Dialog>
    <uri>/finesse/api/Dialog/12345678</uri>

    </Dialog>

    Subject: RE: Can a User be part of more than 1 team?
    Replied by: Absaar Javed on 02-04-2013 04:32:22 AM
    In finesse 9.1(1) can a supervisor supervise more than one teams?

    Subject: RE: Can a User be part of more than 1 team?
    Replied by: Theodore Phipps on 03-04-2013 12:57:05 PM
    Yes.  they should be added as supervisors to multiple teams in CCE, and then the drop-down team selector in the Team Performance gadget will show the teams that they can supervise.

    Subject: RE: Can a User be part of more than 1 team?
    Replied by: Absaar Javed on 10-04-2013 01:49:36 AM
    In finesse 9.1.1 web services API's, "User - Get List of Dialogs Associated With User" API says in its security constraints that:
    { Role: Agent, Administrator
    Limitations: Administrators can get a list of dialogs associated with any user. Agents can only get a list of their own dialogs.
    }
    Now, I am trying to access the dialogs of a user(Agent) by using the authentication credentials of an other user which is supervisor, but I am getting 401 error for that. Need some help to figure out what is wrong,
    aren't the supervisor and administrator accounts same?

    Subject: RE: New Message from Absaar Javed in Finesse - General Questions: RE: Can a
    Replied by: David Lender on 10-04-2013 11:35:45 AM
    You can get the dialogs for a user (agent) by using the authentication credentials of an Administrator, not a Supervisor.

    Subject: RE: Can a User be part of more than 1 team?
    Replied by: Absaar Javed on 11-04-2013 08:44:38 AM
    Can an Administrator subscribe to the dialogs of users(agents/supervisors) via open AJAX hub so that administrator can receive all the dialogs of users he/she is subscribed to? as I am able to get the dialogs of users with administrator credentials but I am still unable to subscribe to users' dialog using administrator credentials via pubsub' I am using pidgin & poster for testing'

    Subject: RE: New Message from Absaar Javed in Finesse - General Questions: RE: Can a
    Replied by: David Lender on 11-04-2013 01:00:45 PM
    The concept of administrator as super user is not currently supported.

    From: Cisco Developer Community Forums [mailto:cdicuser@developer.cisco.com]
    Sent: Thursday, April 11, 2013 9:45 AM
    To: cdicuser@developer.cisco.com
    Subject: New Message from Absaar Javed in Finesse - General Questions: RE: Can a User be part of more than 1 team?

    Absaar Javed has created a new message in the forum "General Questions": -------------------------------------------------------------- Can an Administrator subscribe to the dialogs of users(agents/supervisors) via open AJAX hub so that administrato can receive all the dialogs of users he/she is subscribed to? as I am able to access the dialogs of users with administrator credentials but I am still unable to subscribe to users' dialog using administrator credentials.
    --
    To respond to this post, please click the following link: http://developer.cisco.com/web/finesse/community/-/message_boards/view_message/14155492 or simply reply to this email.