Maximo Open Forum

 View Only
  • 1.  OSLC

    Posted 04-27-2024 15:47

    I need your help on OSLC api, we have a get method to fetch SR record. As per the below

     

    https://localhost/maximo/api/os/MAXSR/?apikey=r12oi1m17u&lean=1&oslc.where=uuid=%22784198469403525%22 and ticketid=%22SR-196218%22&oslc.select=ticketid,actionstatus,reportdate,cc_custname,cc_custphone,cc_custproblem,cc_buildingtype&ignorers=1&ignorekeyref=1

     

    There is a requirement that its need fetch data only if there is a where clause else no data should be fetched.

     

    Moreover, can we hide responseInfo href from the response below.

     

    {

        "member": [

            {

                "cc_custname""BASSAM",

                "cc_buildingtype""Cemetery",

                "cc_custphone""0565786693",

                "reportdate""2024-04-22T11:51:57+04:00",

                "cc_buildingtype_description""Cemetery",

                "cc_custproblem_description""Damage/Broken Private Manhole",

                "cc_custproblem""DMG-PVT-M",

                "ticketid""SR-196218"

            }

        ],

        "responseInfo": {

            "href"http://localhost/maximo/api/os/MAXSR/?apikey=r14l1m17u&lean=1&oslc.where=uuid=%22784198469403525%22%20and%20ticketid=%22SR-196218%22&oslc.select=ticketid,actionstatus,reportdate,cc_custname,cc_custphone,cc_custproblem,cc_buildingtype&ignorers=1&ignorekeyref=1,

            "totalCount"1

        }

    }


    #Integrations

    ------------------------------
    Raed Raqab
    ADSSC
    ------------------------------


Newest Episode
Ep. 4 | System Properties in IBM Maximo

Watch Steven Shull walk through practical IBM Maximo system properties that can improve usability, query behavior, attachment handling, and the overall Maximo user experience.

MORE by Naviam Episode 4 cover
Watch Episode 4
Also available: Ep. 3 | Work Order Role-Based Application