Skip to main content
The First Step
Sep 10, 2018 7:57 AM UTC
Question

Call Log. No Recordings parameter

When I receive a

call log, the call record option is not returned, although in the Ringcentral desktop application I press the "Record Call" button and then I see this record and can listen, but through the API, when I receive the array, there is no recordings parameter. How to get a link to record a call via API?

5 replies

Employee
Sep 10, 2018 8:25 AM UTC
Here is sample code for call recording download: https://github.com/ringcentral/ringcentral-csharp-client/blob/master/RingCentral.Test/BinaryTest.cs#...

In the body of a call log record, there is a recording property where you can fetch information about it especially its ID.
The First Step
Sep 10, 2018 9:08 AM UTC
In the request, I send the parameters /account/'.$accountId.'/extension/'.$extensionId.'/call-log and get an array in response, but there is no recording property. Do I need to specify some additional parameter in my case to get this property. Maybe something has changed in the API ?




Employee
Sep 10, 2018 9:33 AM UTC
The First Step
Sep 10, 2018 9:45 AM UTC
This parameter causes an error in my case:

{
  "errorCode" : "InvalidParameter",
  "message" : "Parameter [withRecording] value is invalid",
  "errors" : [ {
    "errorCode" : "CMN-101",
    "message" : "Parameter [withRecording] value is invalid",
    "parameterName" : "withRecording"
  } ],
  "parameterName" : "withRecording"
}



Employee
Sep 10, 2018 12:11 PM UTC
Are you sending "true" as string or boolean?