• Rückgabe Variante A:

    [
    {
      "tbmObjectClass": "ERP Auftrag HA",
      "tbmObjectId": 1234,
      "values": [{
        "key": "Attr 1",
        "value: "Val 1"
      }, {
        "key": "Attr 2",
        "value: "Val 2"
      }]
    },
    {
      "tbmObjectClass": "ERP Auftrag HA",
      "tbmObjectId": 2345,
      "values": [{
        "key": "Attr 3",
        "value: "Val 3"
      }, {
        "key": "Attr 4",
        "value: "Val 4"
      }]
    }
    ]
    Edited by Christopher Hlubek
  • Rückgabe Variante B:

    [
    {
      "tbmObjectClass": "ERP Auftrag HA",
      "tbmObjectId": 1234,
      "values": {
        "ERP Auftrag": [{
          "key": "Status",
          "value: "Status"
        }],
        "ERP Auftrag HA": [{
          "key": "Attr 1",
          "value: "Val 1"
        }, {
          "key": "Attr 2",
          "value: "Val 2"
        }]
      }
    },
    ...
    ]
    Edited by Christopher Hlubek
  • Rückgabe Variante C:

    {
      "ERP Auftrag": [
    {
      "tbmObjectClass": "ERP Auftrag HA",
      "tbmObjectId": 1234,
      "values": {
        "ERP Auftrag": [{
          "key": "Status",
          "value: "Status"
        }],
        "ERP Auftrag HA": [{
          "key": "Attr 1",
          "value: "Val 1"
        }, {
          "key": "Attr 2",
          "value: "Val 2"
        }]
      }
    },
    ...
    ],
    
      "HA Akte": [...]
    }
    Edited by Christopher Hlubek
  • Rückgabe Variante D:

    {
      "ERP Auftrag HA": [
    {
      "tbmObjectClass": "ERP Auftrag HA",
      "tbmObjectId": 1234,
      "parentObjecClass": "HA Akte",
      "parentObjectId": 4567,
      "values": [{
        "key": "Status",
        "value: "Status"
      }, {
        "key": "Attr 1",
        "value: "Val 1"
      }, {
        "key": "Attr 2",
        "value: "Val 2"
      }]
    },
    ...
    ],
    
    "ERP Auftrag KBM": [
    {
      "tbmObjectClass": "ERP Auftrag KBM",
      "tbmObjectId": 2345,
      "parentObjecClass": "Baustelle",
      "parentObjectId": 5678,
      "values": [{
        "key": "Status",
        "value: "Status"
      }, {
        "key": "Attr 3",
        "value: "Val 3"
      }, {
        "key": "Attr 4",
        "value: "Val 4"
      }]
    },
    ...
    ],
    
      "HA Akte": [{tbmObjectId: 4567, ...}],
      "Baustelle": [{tbmObjectId: 5678, ...}],
    }
    Edited by Christopher Hlubek
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment