MultiValue Tools

 View Only
  • 1.  Webhook Integration Advice

    Posted 04-15-2024 19:31

    Hello,

    I am trying to integrate a webhook from a third party company in Universe 11.3 on IBM AIX.  The third party company asked for a URL to send their messages and I thought I would be able to build this through RESTful Web Services developer and a Unibasic subroutine.  I  setup an input parameter and hoped it would contain the return data, but that did not work and the parameter was not being populated.

    Is the RESTful Web Services the best tool for this?  If so, how can I parse the return message (below) in my Unibasic subroutine, so I can update my database?  If not, any tools/ideas you can recommend?

    Thanks,

    Larry



    ------------------------------
    Lawrence Rizzo
    Consultant
    LJR Technology Consulting LLC
    East Amherst NY US
    ------------------------------


  • 2.  RE: Webhook Integration Advice

    ROCKETEER
    Posted 04-16-2024 09:46

    Lawrence,

    Rocket U2 RESTFul Web Services is the older tool that Rocket had to create RESTFul Web Services.

    Were you able to test the service from the tool?

    Are you getting an error message?

    One thing to check is how you have the parameters defined for Subroutine Service.

    ----

    As for the best tool, I recommend Rocket MVIS, (Rocket MultiValue Integration Server)



    ------------------------------
    Mike Rajkowski
    MultiValue Product Evangelist
    Rocket Internal - All Brands
    US
    ------------------------------



  • 3.  RE: Webhook Integration Advice

    Posted 04-16-2024 12:17

    Hi Mike,

    I do believe my client is planning on moving to MVIS, but for know, all I have available is the REST Developer.  I was able to succesfully implement a REST server for a prior project, but this is a webhook, which "pushes" events as they occur.  With that, it have not been easy to test as I have to easy way to trigger events without actually being in their software.

    The error is that the inbound parameter is not being sent.  (See below.)  I believe I need to find a way to access the HTTP message that was sent from the webhook, which contains the payload message.  If I can find way to access the message in my REST subroutine, I can simply parse it and load the JSON message.  Any ideas?

    Thank you for your reply!

    Larry



    ------------------------------
    Lawrence Rizzo
    Consultant
    LJR Technology Consulting LLC
    East Amherst NY US
    ------------------------------