cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
882
Views
0
Helpful
4
Replies

Log Onto Finesse Programmatically

limingq2010
Level 1
Level 1

We are trying to find a way to log onto Finesse programmatically via web API.

 

Finesse web service developer's guide says

 

If you hit http://<FQDN>/finesse/api/User/<id> with PUT method & proper security header, and send data of 

 

    <User>
    <state>LOGIN</state>
    <extension>1001001</extension>
    <mobileAgent>
    <mode>CALL_BY_CALL</mode>
    <dialNumber>4085551234</dialNumber>
    </mobileAgent>
</User>

It is supposed to log this user in. We got 202 (success), but the web session does not seem to get authenticated with this user when we hit the agent login URL (still got login prompt). Is it something we have fundamentally misunderstood? Is it possible to log onto Finesse (as an agent) programmatically?

1 Accepted Solution

Accepted Solutions

Hi,

 

I want to make sure I'm understanding what you are trying to accomplish correctly. You would like to programmatically log in the agent so that when they go to https://<finesse server>:8445/desktop, they will go straight to the agent desktop without needing to log in.

 

If the above is what you are trying to accomplish, that does not work. Even though an agent is logged in on the Finesse server side, they won't be automatically logged in on the desktop UI. The only way you can do something like that is not secure at all. It would be to write a javascript script that fills in the username/password and clicks submit programmatically. So of course the credentials are in plain sight.

 

Thanx,

Denise

View solution in original post

4 Replies 4

pk88
Spotlight
Spotlight

Test the agent login in finesse desktop before you test with API to make sure username, password and Extension are working good.

Have below details handy before you test login with API.

 

Finesse server FQDN: finesse1.xyz.com
• Agent name: John Smith
• Agent ID: 1234
• Agent password: 1001
• Agent extension: 1001

 

Make sure you have below set properly.

 

URL - http://finesse1.xyz.com/finesse/api/User/1234

Authrization - Basic Auth (Enter Username and password of agent)

Content-Type - application/xml

Body - 

<User>
<state>LOGIN</state>
<extension>1001</extension>
</User>

 

You can use any of the Web Service Testing tools for example Postman. Hope this helps.

I got that the user is considered logged into once the web service API is hit successfully (we got 202 both in our code and postman).

My question is what it takes to obtain an authenticated web portal session for the agent so that they can receive and make calls from there, without having to manually log in again.

Hi,

 

I want to make sure I'm understanding what you are trying to accomplish correctly. You would like to programmatically log in the agent so that when they go to https://<finesse server>:8445/desktop, they will go straight to the agent desktop without needing to log in.

 

If the above is what you are trying to accomplish, that does not work. Even though an agent is logged in on the Finesse server side, they won't be automatically logged in on the desktop UI. The only way you can do something like that is not secure at all. It would be to write a javascript script that fills in the username/password and clicks submit programmatically. So of course the credentials are in plain sight.

 

Thanx,

Denise

The following part where the user will be getting the part for around which it may be getting the particular work that around it netgear r6700 review to get the process of log onto finesse programmatically sued to manage it.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: