Maximo Open Forum

 View Only
  • 1.  Integration using HTTP handler for end point

    Posted 02-16-2025 08:25

    I'm trying to send a post request from maxim to another Maximo (test server), the end goal is to integrate with MS dynamics, but I want to check configuration first and analyze the response (where and how I'll get the response data), but it fails every time and I cannot identify the problem 
    anyone has a previous experience with this kind of integration


    #Integrations
    #IoT

    ------------------------------
    Abdelrahman Abbas
    RATPdev
    ------------------------------


  • 2.  RE: Integration using HTTP handler for end point

    Posted 02-16-2025 13:39

    Maybe I'm remembering wrong but to use Business Central webservices you need to authenticate via OAuth.



    ------------------------------
    Diego Visentin
    Tempestive S.p.A.
    ------------------------------



  • 3.  RE: Integration using HTTP handler for end point

    Posted 02-17-2025 05:12

    thank you
    would you clarify more ?



    ------------------------------
    Abdelrahman Abbas
    RATPdev
    ------------------------------



  • 4.  RE: Integration using HTTP handler for end point

    Posted 02-17-2025 05:45

    You can find info in docs of v7.6.1.3 and in technotes like this: How to use OAuth2 authentication on outbound integration

    Also, @Biplab Choudhury wrote about it: (1) Maximo 7613 OAuth Authentication Support | LinkedIn



    ------------------------------
    Diego Visentin
    Tempestive S.p.A.
    ------------------------------



  • 5.  RE: Integration using HTTP handler for end point

    Posted 02-17-2025 07:57

    unfortunately, I found the TPAE is 7612 which is not valid for this configuration
    thank you so much for your support



    ------------------------------
    Abdelrahman Abbas
    RATPdev
    ------------------------------



  • 6.  RE: Integration using HTTP handler for end point

    Posted 03-05-2025 09:50

    Hi,

    Couple of observations.  If you're sending a POST to Maximo, then the tag cannot be "Publish".  It needs to be "Sync", so you'll need to add a customization to your outbound integration to change this.
    If you're POSTing XML to Maximo, then the content type needs to be "text/xml", not "application/xm".
    The unauthorized error you're receiving is probably because of improper authentication.  For authenticating, you need to pass a header of "MAXAUTH" and the value is a base64-encoded value "username:password".  Also, I would remove the apikey from the header since you're using username/password.

    Good luck!



    ------------------------------
    Carlos Marin
    Sharptree
    Senior Integration Developer
    ------------------------------