Skip to main content

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



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


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?


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


Thank for your comment, it is working


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.


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