Christopher_Greene | 2021-07-19 13:19:24 UTC | #1
Hi Regarding the POST method for /api/v2/analytics/reporting/schedules
I was provided this request body so I'm uncertain how the reportID was generated.
The goal is to generate a report, "User Status Detail Report" using the following request body. { "name": "TestOne", "quartzCronExpression": "2021-07-13T09:00:00.000Z", "nextFireTime": "2021-07-14T00:00:00.000Z", "dateCreated": "", "dateModified": "", "description": "", "timeZone": "", "timePeriod": "", "interval": "2021-01-13T00:00:00.000Z/2021-04-20T00:00:00.000Z", "reportFormat": "XLS", "locale": "en_US", "enabled": true, "reportId": "52c18090-2425-4aeb-8587-f039643be6f7", "parameters": {} }
I run this and get an internal server error 500. I'm not certain if this request body is complete enough or accurate. Any assistance would be appreciated. Chris
tim.smith | 2021-07-19 13:21:02 UTC | #2
Please open a case with Genesys Cloud Care to investigate. Requests that consistently generate 500 response codes typically indicate a bug in the software.
Christopher_Greene | 2021-07-20 21:15:06 UTC | #3
Thank you, Tim. Will pursue that route.
Chris
system | 2021-08-19 13:37:01 UTC | #4
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 11507