Skip to main content
Question

can not get Call log on for all users and extensions--- production enviroment

  • October 27, 2016
  • 2 replies
  • 1087 views

I am working in Production environment, I login with username = maincompanyNumber,

request is: https://platform.ringcentral.com/restapi/v1.0/account/502681018/call-log?

but can not get all call logs for all users under? Am I doing something wrong?


Thanks.


2 replies

Could you please post the code here?

By default, this endpoint only returns call logs in the past 24 hours. You need to specify dateTo and dateFrom parameters in order to get call logs for a longer period.

  • Author
  • New Participant
  • October 28, 2016

this is request , I tried to get for one week, I can see all call logs from service.ringcentral.com.  but in my code, it didn't work.

https://platform.ringcentral.com/restapi/v1.0/account/502681018/extension/~/call-log?type=Voice&dateFrom=2016-10-21T00:00:00.000Z&dateTo=2016-10-28T00:00:00.000Z