| Auszug |
|---|
|
Nuclos REST create: defaultGeneration, boGenerations, blank, insert, POST, reference attribute id, name. |
Language: Deutsch · English
5. Creating a business object (BO)
Create a BO via REST – fetch a blank via defaultGeneration and POST it to insert.
| Status |
|---|
| colour | Green |
|---|
| title | Updated: Jul 2026 |
|---|
|
| Status |
|---|
| colour | Grey |
|---|
| title | applies to Nuclos 4.2026.x |
|---|
|
To create a record, first fetch a blank via the defaultGeneration link (boGenerations/{boMetaId}). Nuclos pre-fills it with the configured default values and lists all possible attributes – anything not needed can be removed.
| Warnung |
|---|
| title | Reference attributes |
|---|
|
Pitfall: reference attributes (e.g. customer) must contain the id. The name field is not mandatory but must be at least an empty string "". |
Sending the create
Send the object via POST to the insert link contained in the blank (equals the BO list link /bos/{boMetaId}). The response contains the created object including its id.
Related pages
6. Modifying a business object (BO)
Modify.
Open →
4. Reading business objects (BO)
Meta info.
Open →