Maximo

Maximo

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

 View Only
  • 1.  MAS oslc url

    Posted Thu April 11, 2024 05:21 PM

    Hi,

    do these both urls produce the same result performance wise. Is there any other difference ?

    https://server/maximo/oslc/os
    https://server/maximo/api/os

    Thanks,

    Suman



    ------------------------------
    suman kumar
    ------------------------------


  • 2.  RE: MAS oslc url

    Posted Fri April 12, 2024 09:14 AM

    The /maximo/api route is identical to the /maximo/oslc route - the only difference is that the /maximo/api route is not protected authentication-wise by the application container. Therefore API Keys can be used with the /maximo/api route.

    Hope this helps,



    ------------------------------
    Alex Walter
    A3J Group
    ------------------------------



  • 3.  RE: MAS oslc url

    Posted Tue April 30, 2024 09:26 AM

    Thank you. 

    using "https://hostserver.com/maximo/oslc" unable to get the data from postman while it says status "200 ok" with below response as in screenshot however it does not get any data.This response is same for all three kinds of authentication i.e. maxauth, apikey and autorization. 



    ------------------------------
    suman kumar
    ------------------------------



  • 4.  RE: MAS oslc url

    Posted Tue April 30, 2024 12:27 PM

    You should try the /maximo/api route using an API Key in your request headers. Something like:

    GET /maximo/api/os/mxapiwodetail?lean=1&oslc.pageSize=5&oslc.select=*
    apikey: 1234567890

    You are getting an HTML response as the /maximo/oslc route is likely protected by the application server requiring an authentication token or cookie (this typically happens when you have a SAML/SSO setup).

    Hope this helps,



    ------------------------------
    Alex Walter
    A3J Group
    ------------------------------