Versionen im Vergleich

Schlüssel

  • Diese Zeile wurde hinzugefügt.
  • Diese Zeile wurde entfernt.
  • Formatierung wurde geändert.
Auszug
hiddentrue

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.

Status
colourPurple
titleHow-to
Status
colourBlue
titleDeveloper
Status
colourGreen
titleUpdated: Jul 2026
Status
colourGrey
titleapplies to Nuclos 4.2026.x

Panel
bgColor#F4F5F7

On this page

Inhalt
maxLevel2
minLevel2

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:

Codeblock
languagejson
"subBos": {
  "insert": {
    "{refAttrId}": [
      { "boId": null, "boMetaId": "{boMetaId}", "attributes": { ... } }
    ]
  },
  "update": {
    "{refAttrId}": [
      { "boId": 123, "boMetaId": "{boMetaId}", "attributes": { ... } }
    ]
  },
  "delete": { "{refAttrId}": [ 456 ] }
}
  • insert: new rows like a normal BO (via a blank).
  • update: append only the changed rows – unchanged ones need not be sent.
  • delete: only the ids of the rows to delete.

Related pages

gear 7. Deleting a business object (BO)


Delete.

Open →

gear 5. Creating a business object (BO)


Create.

Open →