AppWorx, Dollar Universe and Sysload Community

Expand all | Collapse all

How to schedule a BOBJ Report instance via RESTFul API call using Automic's REST Agent

  • 1.  How to schedule a BOBJ Report instance via RESTFul API call using Automic's REST Agent

    Posted May 01, 2019 11:54 AM

    Hello,

     

      We are trying to schedule a BOBJ WEBi Report from Automic. As part of this, we have the RESTFul API endpoint of the BOBJ Report. We are trying to make REST API call from Automic using RA-REST Agent. But, we are unable to get this to working.

     

    Is there a document or blog explaining the process of doing REST API calls to external systems in Automic?

     

    Thanks,

    Sarat



  • 2.  Re: How to schedule a BOBJ Report instance via RESTFul API call using Automic's REST Agent

    Posted May 02, 2019 05:36 AM

    Need to do a bit of setup first depending on the URL to be targeted.

     

    • Can the URL be targeted from the server where $U resides, this is to ensure basic connectivity so things like firewalls or certificates need to be in place. The security is usually higher for https url targets
    • Is there any authentication required to hit the URL (user/pass) or authorization key

     

    Its a good idea to test connectivity using Postman or even IE.

     

    • If all good then on Univiewer go to Node -> select node ->update -> Manager Web Services (assuming this is activated) ->Manager Settings
    • This will open an interface - select REST
    • Right Click and select add
    • Give your URL a name and put in the URL path in the Base URL and save - The name you gave the URL can now be used by REST type Uprocs
    • Save and close the manager and node all the way back to node menu

     

    The Base URL is now set up

     

    Now create a Uproc

    • Got to Uprocs on the node
    • Create new Uproc of type WS_REST
    • Go to Edit, select the REST service made earlier, select the HTTP resource and the method such as GET or POST (this is where testing in POSTMAN comes in useful)
    •  You can use this as a basic call or you can add in responses
    • Variables can be added as outputs which will be passed to other Uprocs as inheritance variables (no need  to define them in subsequent Uprocs)

     

    This should get you going at least.