Maximo

Maximo

Come for answers, stay for best practices. All we're missing is you.

 View Only
  • 1.  Query data from MAS9 using Legacy Rest API

    Posted Sun April 27, 2025 03:26 PM

    Hi All,

    Did any one used the legacy Rest API in MAS 9 to query the data using context /mxrest/rest/os ?.  We are using MAS9 with SAML authentication enabled have a requirement to query the work order data from MAS using with legacy Rest API which exists in t he Maximo 7.1 with the context as /maxrest/rest/os from Rest API Url.

    I have configured the mxe.rest.webappurl as https://hostname/maxrest/rest/os in system property  but my response always redirecting to the MAS SAML login page for any request being sent to MAS 9.

    I have passed apikey as parameter in query url and also tried by using as header from Authorization tab of postman. but every time response being SAML login page and getting HTTP 200.

    I have used Query url from postman as example: https://hostname/maxrest/rest/os/MXWO?apikey= value&lean=1. set the required headers in postman also.

     thanks in advance.



    ------------------------------
    Vinod xxxx
    ------------------------------


  • 2.  RE: Query data from MAS9 using Legacy Rest API

    Posted Wed May 07, 2025 02:17 PM

    With maxauth and BASIC auth support being removed you have to use API authentication which was not supported in /maxrest context.

    They added support to use APIkey with the older rest api by changing the context to /restapi instead of /maxrest



    ------------------------------
    John Myers
    ------------------------------