Maximo Integration

Maximo-ICON.png

Maximo

Learn how to increase the operational efficiency of the assets you manage, and improve overall equipment effectiveness by using IoT data and AI.

Maximo-ICON.png

TRIRIGA

Reduce the operational costs of the facilities you manage, and create more engaging occupant experiences through the application of IoT data and AI.

Maximo-ICON.png

Engineering

Learn how IoT data and AI are being applied to transform the end-to-end engineering lifecycle.

Expand all | Collapse all

Replace Action in Inbound Integration JSON in Maximo 7.6.1

  • 1.  Replace Action in Inbound Integration JSON in Maximo 7.6.1

    Posted 15 days ago
    Hi All,

    In Maximo Service Provider we can associate customers to locations. The customer is integrated into Maximo through external system  in JSON format. If the location has customer already then all the existing customers should be deleted and the new customer in the JSON for the same location should get integrated. In case of XML we have ACTION = Replace however I'm not sure how to do it in JSON . Kindly advise. 

    Thanks!!

    ------------------------------
    MAX092012
    ------------------------------


  • 2.  RE: Replace Action in Inbound Integration JSON in Maximo 7.6.1

    Posted 15 days ago
    REST API documentation https://developer.ibm.com/static/site-id/155/maximodev/restguide/Maximo_Nextgen_REST_API.html#_creating_and_updating_resources

    See section 11, I think it has what you are looking for

    ------------------------------
    Tom Sarasin
    Maximo Designer
    IBM
    (978) 899-2592
    ------------------------------



  • 3.  RE: Replace Action in Inbound Integration JSON in Maximo 7.6.1

    Posted 15 days ago
    Hi Tom,

    Thanks for your reply. I saw this already however I need to perform REPLACE like for example if Location = Building and customer is  A, B and C already in Maximo. The new JSON file has Location = Building and customer is X, Y and Z hence once this record is integrated into Maximo Location Building should have customer X, Y and Z and not A,B,C,X,Y and Z which happens when using MERGE.

    ------------------------------
    MAX092012
    ------------------------------



  • 4.  RE: Replace Action in Inbound Integration JSON in Maximo 7.6.1

    Posted 15 days ago
    I believe when you do a PATCH, if the PATCHTYPE is not provided or provided with a value of replace it should delete the current child objects and add the ones provided in the payload.  Keep in mind this replace logic applies to all child objects in your object structure.  Let me know if you tried this and not getting this result

    ------------------------------
    Tom Sarasin
    Maximo Designer
    IBM
    (978) 899-2592
    ------------------------------