Skip to main content
Question

Trying to get all the extension

  • September 21, 2023
  • 1 reply
  • 157 views

Need help in getting all Extensions and Call log records.


I am logged in as 'Data Analytics' users.

There is a 'Corporate Directory' app created by a different group

  1. App is private
  2. Application scope is set Read Accounts, Read Call Logs


Analytics group created another app 'Analytics Test App'

Primary purpose is to invoke REST APIs and get account information and call records.

{{RC_SERVER_HOSTNAME}}restapi/v1.0/account/~/extension/

This call does returns about 6 entries with two as unassigned.

{{RC_SERVER_HOSTNAME}}restapi/v1.0/account/~/extension/~/call-log

Return 2 entiries. Some test data I created personally.

I need to entire company directory and all call records. What settings should I use to enable this functionality.

BTW .. I also created a support ticket.


Thank you




1 reply

PhongVu
Community Manager
Forum|alt.badge.img
  • Community Manager
  • 2314 replies
  • September 21, 2023

You don't need to call each extension call log separately. You can simple call the Company call log API to read the entire company call log. Make sure that the user who is authenticated the app is a super admin user or a custom role that has the permission to read company call log.

If there is a reason you want to call each extension call log, you can read the account extensions using the query filter type and status to filter out unassigned extensions and extensions that do not handle voice calls.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings