Hello,
I’m trying to add a roll-up using the reporting API.
I’m using RollUpReporting.addRollUp (name, sourceIdSites, timezone, currency) but I have an issue in my request.
Here is my request :
?module=API&method=RollUpReporting.addRollUp&name=RollUpName&timezone=Europe/Paris¤cy=EUR&sourceIdSites=1011&format=JSON&token_auth=xxx
The error is the following : {“result”:“error”,“message”:“Source measurables: At least one children site needs to be assigned to the Roll-Up site”}
I tried pretty much all formats for the “sourceIdSites” value :
- sourceIdSites={1011}
- sourceIdSites=[1011]
- sourceIdSites=1011
- sourceIdSites=[“1011”]
Does anybody have an idea ?
Thanks for your help !
Best Regards,
Jérôme