Skip to main content
Question

How to download Company call log by SDK


  • Participating Frequently
  • 5 replies

The example for get call log are all for current user


1618855340905.png


where is the function for download company log?


are there something like ReadCompanyCallLogParameters ? where is the example for c#


Thanks



6 replies

If you check the API link in the API console:

https://developers.ringcentral.com/api-reference/Call-Log/readCompanyCallLog

There is API readCompanyCallLog and in the right hand side you will find C# code and function: readCompanyCallLogParameters

1618931842711.png


  • Author
  • Participating Frequently
  • 5 replies
  • April 26, 2021

The example you give need account id, is that means i have search account by account, i cannot get all call log information at once?

and what is the function to get account information?


PhongVu
Community Manager
Forum|alt.badge.img
  • Community Manager
  • 2329 replies
  • April 26, 2021

What do you mean "account by account"? Account id is the id of the entire company, while extension id is the id of each extension under the company. Think as "the employer and employees" where employer is the account and employees are extensions.

You can read the call log in 2 levels.

User (extension) level

Company (account) level

Read these blogs for more info.

https://medium.com/ringcentral-developers/downloading-call-log-using-ringcentral-call-log-api-endpoint-quick-tip-1ac27aaa82bc

https://medium.com/ringcentral-developers/visualize-your-business-communications-history-2c81f85c324a


  • Author
  • Participating Frequently
  • 5 replies
  • April 26, 2021

Thank for your comment, it is working


  • Participating Frequently
  • 5 replies
  • June 13, 2022

That is not a solution, I did it already, but it keeps an error.

I allowed ReadCallLog permission to my app, but I am getting an error below when I test api using Postman.

{ "errorCode": "InsufficientPermissions", "message": "In order to call this API endpoint, one of the following permissions [ReadCompanyCallLog] have to be granted to the authorized user.", "errors": [ { "errorCode": "CMN-408", "message": "In order to call this API endpoint, one of the following permissions [ReadCompanyCallLog] have to be granted to the authorized user.", "permissionsName": "ReadCompanyCallLog" } ], "permissionsName": "ReadCompanyCallLog"}


Please see this.

https://prnt.sc/UDJ-YWFmJrEK


I am not clear why it keeps an error above.


  • 0 replies
  • June 13, 2022

Hi @NuCare Admin this error means you need to login as 'Admin' using admin credentials, see this question for similar problem/solution: https://community.ringcentral.com/questions/8397/in-order-to-call-this-api-endpoint-user-needs-to-h-4.html


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