Changing the context from /maxrest/rest/os to /maxrest/api/os/ seems to work for me.
Take a look at this for more details: https://relia.app/2024/06/some-problems-with-authentication-in-mas-and-how-to-work-around/
------------------------------
Viet Tran
Relia App Development & Consulting
https://relia.app------------------------------
Original Message:
Sent: 04-27-2025 00:29
From: chidambar shastry
Subject: Postman settings and prerequisites to query the from MAS 9 latest version using Legacy Rest API call
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.
Regards
Chidambar
#MaximoApplicationSuite
------------------------------
chidambar shastry
GE
------------------------------