TeamcenterKnowledge

MBSE Integration Services for Integrating Modeling Tools

compareContainers()

Compares two JSON payloads to identify differences between containers.

There are two compareContainers() APIs with the same name but with different parameters.

ResponseData compareContainers(String updatedJson , String lastSavedJson)

Input Parameters

  • updatedJson — The input payload of the modified model in the form of a JSON string.

    Note: If the container has updates and it contains systemInputs in updatedJson, these systemInputs are included in the delta JSON. For unchanged containers, even if they contain systemInputs in updatedJson, these systemInputs are not included in the delta JSON.

  • lastSavedJson — The input payload JSON containing the previously saved model from the tool.

Returns

ResponseData identifying the delta JSON document containing the modified models, datasets, and their properties.

Source: https://docs.sw.siemens.com/en-US/doc/282219420/PL20251212545240207.xid1913857/exn4165473907213 · retrieved Fri Jul 10 2026 00:00:00 GMT+0000 (Coordinated Universal Time)