Adobe-Marketing-Cloud / analytics-java-library

A Java client library for Analytics APIs
Apache License 2.0
15 stars 16 forks source link

ReportSuiteMethods#getReportSuites Request body leads to empty result #25

Open Bifi1992 opened 6 years ago

Bifi1992 commented 6 years ago

Dear Sirs, I have currently been developing a connection to adobe analytics for our product motivated by a customer's request. When calling com.adobe.granite.analytics.client.methods.ReportSuiteMethods#getReportSuites with Sandbox credentials everything works fine. But when I call the method with the credentials of my customer I don't get any results. After a bit of testing, I found that leaving the body empty gets me the results. Meaning: CompanyReportSuites reportSuites = suiteMethods.getReportSuites(); // no result CompanyReportSuites reportSuites = pClient.callMethod("Company.GetReportSuites", JsonUtil.o(""), CompanyReportSuites.class); // expected results