2 Replies Latest reply on Feb 20, 2018 3:12 AM by joetetley

    HEAT Task Monitor - API / Cloud / Web Service Application

    Rookie

      Documentation / Discussion on the facility of a Task Monitor for the HEAT Cloud Application.

       

      Design of a lightweight application, that allows use of the HEAT API to track Tasks assigned to a specific HEAT Team.

       

      This will allow for the monitoring of tasks outside of the core application, and reduce overheads for licencing via a single secure data stream.

        • 1. Re: HEAT Task Monitor - API / Cloud / Web Service Application
          Rookie

          The first problem I had, was finding where to start.  Initially you will need to download, install & setup the SoapUI application.

           

          Once you have installed the application, then setup a connection to your API ASMX file.

           

          https://YOURADDRES.com/ServiceAPI/FRSHEATIntegration.asmx

           

          Then you need to start at the beginning, and make your connection.  Use the Connection Case, as per below...  Of course you need to fill in the correct auth details.  HEAT have advised to setup a specific account, with limited rights.  Make sure you do.

           

          <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:saas="SaaS.Services">

             <soapenv:Header/>

             <soapenv:Body>

                <saas:Connect>

                   <saas:userName>yourusername</saas:userName>

                   <saas:password>yourpassword</saas:password>

                   <saas:tenantId>youraddress</saas:tenantId>

                   <saas:role>yourrole</saas:role>

                </saas:Connect>

             </soapenv:Body>

          </soapenv:Envelope>

           

           

          If you send the above envelope, you should get back a Success response... like below.  You now have your access & Session Key.  If you have this, then you are basically home...

           

          <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

             <soap:Body>

                <ConnectResponse xmlns="SaaS.Services">

                   <ConnectResult>

                      <connectionStatus>Success</connectionStatus>

                      <sessionKey>youraddress.com#P18VC8UA13E55PKF1J0MHHH9UFOT8TN8#2</sessionKey>

                   </ConnectResult>

                </ConnectResponse>

             </soap:Body>

          </soap:Envelope>

          • 2. Re: HEAT Task Monitor - API / Cloud / Web Service Application
            joetetley Apprentice

            Just tried the above as a post request in Postman - this works - thanks Trev.

             

            The only other thing to note was that I needed to change the media type in postman to text/xml!