Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
8 years ago

REST API and shared shedules

Is there a REST API call to retrieve the ID of a shared schedule by name in the PBIRS Report Server? This ID is needed to set shared schedules on catalog items. With the legacy SOAP API, there was the .ListSchedules call. I can't see anything obvious in the Swagger docs.

 

 

4 Replies

  • v-qiuyu-msft's avatar
    v-qiuyu-msft
    Community Support

    Hi Anonymous,

     

    I didn't find the method to list schedule ID in Power BI report server. Maybe mgmeyerriccardomuti from PG team have ideas? 

     

    To find schedule ID, we can also query the report server database with query:

     

    use <report server database> 
    
    select *from [Catalog] c
    join ReportSchedule rs on c.ItemID=rs.ReportID
    join Schedule s on rs.ScheduleID=s.ScheduleID

     

    Best Regards,
    Qiuyun Yu 

    • Anonymous's avatar
      Anonymous
      Not applicable

      Thank you for the information but I really need a REST call for this - I assume there must be a way to get a schedule ID otherwise there is no way to do anything with schedules ...

      • Anonymous's avatar
        Anonymous
        Not applicable

        It seems also that the legacy SOAP .ListSChedules() method doesn't return anything on the latest PBIRS Report Server so there appears to be no way to get the IDs of shared schedules any more?

  • Anonymous's avatar
    Anonymous
    Not applicable

    Any ideas about this? This seems to be a big hole in the REST API and was possible with the SOAP API.