DX NetOps

 View Only
  • 1.  Rest API for PM

    Posted May 28, 2020 03:52 AM
    Hallo,

    I'm looking for an understandable description of how I can use the rest of the API for the Performance Center. I would like to export and import dashboards from one tenant to another tenant there.
    Can someone give me a tip here? thank you

    Best Regards
    Andreas


  • 2.  RE: Rest API for PM
    Best Answer

    Broadcom Employee
    Posted May 28, 2020 09:54 AM
    Overall PC rest API docs:
    http://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/it-operations-management/performance-management/3-7/apis/performance-center-rest-web-services.html

    Dashboard rest API docs:
    http://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/it-operations-management/performance-management/3-7/apis/performance-center-rest-web-services/dashboards-web-service.html


  • 3.  RE: Rest API for PM

    Posted May 29, 2020 05:50 AM
    Thank you very much, I look at it and try it out


  • 4.  RE: Rest API for PM

    Posted May 29, 2020 06:02 AM
    i just tried it. The document says that you can get the dashboards information via http://hostname:8181/pc/center/webservice/dashboards/. I always get the following message:
    <description> RESTful web service for performing dashboard operations. </description>
    both in the web browser and in the separate REST client. What am I doing wrong?



  • 5.  RE: Rest API for PM

    Broadcom Employee
    Posted May 29, 2020 09:18 AM
    Sorry, that's just a base URL that does nothing.

    You need the pageid (pg=) from the URL when dashboard is loaded to export a dashboard.  Can only export 1 at a time, not all.
    Pass the pageid to http://hostname:8181/pc/center/webservice/dashboards/{pageId}


  • 6.  RE: Rest API for PM

    Posted Jun 02, 2020 08:29 AM
    thank you, now it works