Nuclos REST modify: PUT, self, subBos, insert, update, delete, subform, reference attribute, JSON.

globe with meridians Language: Deutsch · English

hammer and wrench 6. Modifying a business object (BO)

Modify a BO via REST – PUT on self, subforms via subBos insert/update/delete.

On this page

A record read earlier can be modified via PUT on the self link – attributes are edited as when creating (data types see meta information).

Subforms

For performance reasons, subforms are not read with the BO but via their own links. Changes are passed in the object JSON under subBos with insert/update/delete per reference attribute:

"subBos": {
  "insert": {
    "{refAttrId}": [
      { "boId": null, "boMetaId": "{boMetaId}", "attributes": { ... } }
    ]
  },
  "update": {
    "{refAttrId}": [
      { "boId": 123, "boMetaId": "{boMetaId}", "attributes": { ... } }
    ]
  },
  "delete": { "{refAttrId}": [ 456 ] }
}

Related pages

gear 7. Deleting a business object (BO)


Delete.

Open →

gear 5. Creating a business object (BO)


Create.

Open →