question

System Admin avatar image
System Admin asked Craig Chan answered

Unable to pull down a report in Engage Analytics > Scheduled Reports > Realtime Reports via API

I need to pull down a report name "IVR Detail" report from Engage Analytics > Scheduled Reports > Realtime Reports but not able to access it.

>> Here's the request code being sent to Ring Central platform

evEndPoint = "/voice/api/v1/admin/accounts/15780001/reportsStreaming";
ReportParamsIvr rptParams = new ReportParamsIvr
{
reportType = "IVR_DETAIL",
reportCriteria = new ReportCriteriaIvr
{
accountId = "15780001",
startDate = "2021-09-03T00:00:00.000-0000",
endDate = "2021-09-04T00:00:00.000-0000",
timezoneName = "America/Chicago",
criteriaType = "IVR_DETAIL_CRITERIA",
ivrStudioGroups = new string[] { "Customer Service IVR" },
ivrStudios = new string[] { "Dev_Customer Service_Pt_Survey" },
}
};

>> This is the response that I'm getting
{
"generalMessage":"The supplied data is not valid",
"details":"",
"requestUri":"/api/v1/admin/accounts/15780001/reportsStreaming - POST",
"timestamp":1631728592754
}

FYI, removing the ivrStudioGroups and ivrStudios returns a list of all the call recordings of the survey but that's not what I need. I need access to the survey responses which this report contains - Engage Analytics > Scheduled Reports > Realtime Reports > IVR Detail.

I've added the ivrStudioGroups and ivrStudios params based on the details from /voice/api/v1/admin/reports/IVR_DETAIL

{
"reportType":"IVR_DETAIL",
"reportCriteria":
{
"accountId":"15780001",
"startDate":"2021-09-03T00:00:00.000-0000",
"endDate":"2021-09-04T00:00:00.000-0000",
"timezoneName":"America/Chicago",
"criteriaType":"IVR_DETAIL_CRITERIA",
"ivrStudioGroups":["Customer Service IVR"],
"ivrStudios":["Dev_Customer Service_Pt_Survey"]
}
}

Can someone tell me why this is not working?

sdk
1 |3000

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

1 Answer

Craig Chan avatar image
Craig Chan answered

This will need some more detailed investigation and back and forth questions to resolve. We see you also created a support ticket and that's the best path to get this resolved.

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