2 Replies Latest reply on Dec 4, 2018 6:17 AM by Peter Lundqvist

    REST API to query status

    Peter Lundqvist
      Share:|

      Hi there,

       

      So I want to extract the status of a CI or a device. I have no problem extracting info about CIs, Devices or Events, but I can't seem to tie it all together.

      I expected that /bppmws/api/CI/${CI_ID}/getEvents would get me there. It works for a business service, but when I try the same on a device I only get an empty evenList.

       

      I first fetch the CI ID with a search ($cis.ciList.*.id) using /bppmws/CI/${CI_SEARCH_STRING}/search and then call getEvents with that id.

      If I look in TSPS it clearly has an open critical event.