cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
497
Views
0
Helpful
0
Comments
cdnadmin
Level 11
Level 11
This document was generated from CDN thread

Created by: Sofia Oliveira on 08-07-2013 09:26:30 AM
Hi,

We are triyng to GET a Team phone book in agent desktop using finesse API Phone Book - Get Phone Book.
However, we are getting the following error, as if we a doing a configuration (only allowed in primary finesse server), wich is not the case.
We only want to read the team phone book.

<uri>[url=http://(finesse secondary server)/finesse/api/Team/5014/PhoneBooks</uri]http://(finesse secondary server)/finesse/api/Team/5014/PhoneBooks</uri>
<username>(username)</username>
<password>(pwd)</password>
<requestType>GET</requestType>
 <ApiErrors>
       <ApiError>
             <ErrorData>Configuration operations are not allowed on the Secondary Finesse.</ErrorData>
             <ErrorType>Configuration Not Allowed on Secondary Finesse </ErrorType>
             <ErrorMessage>HTTP Status code: 403 (Forbidden) Api Error Type: Configuration Not Allowed on Secondary Finesse Error Message: Configuration operations are not allowed on the Secondary Finesse.
             </ErrorMessage>
       </ApiError>
</ApiErrors>

We have tested in with finesse desktop and when the primary finesse server is down, the desktop can still read the phone books.
Using the finesse API the behavior is not the same.

Could you help us?

Thanks in advance,
Sofia

Subject: RE: New Message from Sofia Oliveira in Finesse - General Questions: Finesse
Replied by: David Lender on 08-07-2013 11:14:21 AM
You are using the wrong API.  The API you are using (getting Phone Books assigned to a Team) *is* a config API.  To get the Phone Books like the Agent Desktop does you must use: /finesse/api/User/<id>/PhoneBooks

This gets all the phone books associated with a User.
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:

Quick Links