Forum Discussion

MaxMuster's avatar
MaxMuster
Frequent Visitor
4 years ago
Solved

Struggling to create refresh plan with rest API

I try to create a new refresh plan for a power bi report on the report server. According to the documentation this should be possible with POST command: https://app.swaggerhub.com/apis/microsoft-rs...
  • d_gosbell's avatar
    4 years ago

    It's probably an issue with the json payload since the Report Portal itself uses the REST api to create schedules.

     

    So what I would suggest is to open the browser developer tools and go to the network tab (I normally use Chrome or the new Edge for this sort of thing). Then create a schedule in the portal that is the same sort of thing that you would want to creat using the API. You should then see the relevant POST calls in the networking tab with real examples of valid json payloads.

     

    You could then delete these example schedules and then re-execute the same requests using Postman.