Versionen im Vergleich

Schlüssel

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

Nuclos REST create: defaultGeneration, boGenerations, blank, insert, POST, reference attribute id, name.

globe with meridians Language: Deutsch · English

hammer and wrench 5. Creating a business object (BO)

Create a BO via REST – fetch a blank via defaultGeneration and POST it to insert.

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

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
titleReference 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

gear 6. Modifying a business object (BO)


Modify.

Open →

gear 4. Reading business objects (BO)


Meta info.

Open →