DX NetOps

Expand all | Collapse all

Rest API for PM

Jump to Best Answer
  • 1.  Rest API for PM

    Posted 05-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

    Posted 05-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 05-29-2020 05:50 AM
    Thank you very much, I look at it and try it out


  • 4.  RE: Rest API for PM

    Posted 05-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

    Posted 05-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 06-02-2020 08:29 AM
    thank you, now it works