| Auszug |
|---|
|
Nuclos REST modify: PUT, self, subBos, insert, update, delete, subform, reference attribute, JSON. |
Language: Deutsch · English
6. Modifying a business object (BO)
Modify a BO via REST – PUT on self, subforms via subBos insert/update/delete.
| Status |
|---|
| colour | Green |
|---|
| title | Updated: Jul 2026 |
|---|
|
| Status |
|---|
| colour | Grey |
|---|
| title | applies to Nuclos 4.2026.x |
|---|
|
A record read earlier can be modified via PUT on the self link – attributes are edited as when creating (data types see meta information).
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 |
|---|
|
"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
7. Deleting a business object (BO)
Delete.
Open →
5. Creating a business object (BO)
Create.
Open →