0 Replies Latest reply on Apr 4, 2017 4:27 PM by jloutze

    How to Modify Component Properties via SWIS API

    jloutze

      Hello,

       

      We have a home-brew tool that takes advantage of the SWIS API to disable certain alerts for our various monitors during maintenance periods. We do this using node, application and recording custom properties which are referenced in our alert criteria. Since custom properties are unavailable for components, we would like to be able to modify the component UserDescription field via the SWIS API but I have not been able to do so and my searches on Thwack indicate that it may not be possible. I was hoping that someone can tell me with certainty if it's possible to modify UserDescription via the API.

       

      As an example, I'm trying to post

           { "UserDescription", "Test" }

      to

           https://[SolarWinds Host]:17778/SolarWinds/InformationService/v3/Json/swis://[SolarWinds Host]/Orion/Orion.Nodes/NodeID=[NodeID]/Applications/ApplicationID=[ApplicationID]/Components/ComponentID={ComponentID]

       

      I know that the URL is accurate for retrieving information but I get a 403 if I try to post.

       

      Any help or ideas to accomplish our goal would be very appreciated.

       

      Thanks

       

      Jason