Maximo

Maximo

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

 View Only

Federated resources : Displaying json tree response with multiple levels

  • 1.  Federated resources : Displaying json tree response with multiple levels

    Posted 10/25/20 08:27 PM
    Hello,

    In Maximo 7.6.1.0:

    I am trying to display a JSON response using Federated Mbo's in Maximo by calling an API that has multiple levels and I am struggling to get it to work. (ending up with invalid bindings)

    The response from the API looks something like this

    { "results":[ { "incidentNo":1831544, "lastUpdateDateTime":"21/10/2020 11:09:00", "originDateTime":"21/10/2020 09:16:00", "incidentType":"OTHER", "incidentLocation":"COWES", "incidentStatus":"Responding", }, { "incidentNo":1831549, "lastUpdateDateTime":"21/10/2020 11:08:00", "originDateTime":"21/10/2020 11:08:00", "incidentType":"STRUCTURE", "incidentLocation":"TAYLORS HILL", "incidentStatus":"Responding", } ] }​

    If I invoke any API that had a single level response, I am able to display it successfully(like the weather api)

    [ { lat: -33.8688, lon: 151.2093, date_iso: "2020-10-27T12:00:00Z", date: 1603800000, value: 8.48 }, { lat: -33.8688, lon: 151.2093, date_iso: "2020-10-28T12:00:00Z", date: 1603886400, value: 8.4 } ​
    Could you please help me with any ideas that I can use to display the multi-level response?

    Thanks

    ------------------------------
    Arun
    ------------------------------

    #AssetandFacilitiesManagement
    #Maximo