Maximo

Maximo

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

 View Only
Expand all | Collapse all

query the object structure data from MAS 9 latest version using Legacy Rest API call

  • 1.  query the object structure data from MAS 9 latest version using Legacy Rest API call

    Posted Mon April 28, 2025 11:59 AM

    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.



    ------------------------------
    Chidambara Sastry Chikkela
    ------------------------------


  • 2.  RE: query the object structure data from MAS 9 latest version using Legacy Rest API call

    Posted Mon May 05, 2025 09:30 AM

    Have you tried using  https://hostname/maximo/oslc/os or  https://hostname/maximo/api/os these works well with MAS and apikey. If you have to use the legacy rest api try following the steps suggested by Steven Shull in this thread



    ------------------------------
    Hari Krishna Mandalapu
    Product Manager
    IBM
    Gandhinagar
    ------------------------------