question

supervisor-23287 avatar image
supervisor-23287 asked supervisor-23287 answered

Hunt Group Results

Using: username=441392790295&extension=301&password=*******&grant_type=password&url=https://platform.ringcentral.com/restapi/oauth/token


should generate the same results as a detailed request for calls from the RingCentral Dashboard i.e all calls to our huntgroup. Instead it just provides call for 301 the supervisor extn which rarely answers any calls in the huntgroup so calls are shown as "missed" when in fact they went to another extn in the huntgroup:


"uri" : "https://platform.ringcentral.com/restapi/v1.0/account/672175064/extension/672175064/call-log/F7YKFKZ...;, "id" : "F7YKFKZMWkP2fzk", "sessionId" : "286649505064", "startTime" : "2016-10-06T17:40:09.000Z", "duration" : 3, "type" : "Voice", "direction" : "Inbound", "action" : "Phone Call", "result" : "Missed", "to" : { "phoneNumber" : "+441392790295", "name" : "Supervisor 2" }, "from" : { "phoneNumber" : "+447725850384" }



getting started
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

benjamin-dean avatar image
benjamin-dean answered
You could use a RingCentral administrative user account to authenticate instead which would grant you the ability to search call logs at the account-level. Of course, this is only a cursory suggestion based on the information provided...


If you would like me to investigate further, please provide the following information:

1. Is your sandbox account configured the same as your production account (or has someone modified your production account recently which has caused a lack of parity)?

2. Are you using one of the RingCentral SDKs? If yes, which one (provide Github URL please)?

3. Provide the code you're using to execute this request (along with full response headers/body) please.

4. Could you provide the complete API response from your authentication request (sans-sensitive-data)?
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

supervisor-23287 avatar image
supervisor-23287 answered
Thanks for your help here the problem was the URL in the sample it doesn't say you can use the request without parameters at all. However a previous post gave us the hint. I then saw that the result came back with view=simple we changed that to detailed and 

https://platform.ringcentral.com/restapi/v1.0/account/~/call-log?view=Detailed&dateFrom="; + TextBox4.Text + "&dateTo=" + TextBox3.Text)

where we pick up the latest datetime parameter on the fly works perfectly

So we think all good now !
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

supervisor-23287 avatar image
supervisor-23287 answered
Now we have a further problem I wonder if you can help with. We can download successfully but are having huge problems converting that into a csv file has anyone written a script in vb of c# that can do that ?
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys