Prev Next

PostNewItem

Create a new item in the Eternal Provider

Inputs

Parameter

Details

parameters

  • C++: const char*
  • C#: string

A JSON string of parameters. Includes details of the new item to be created.

Outputs via Callbacks

AddProperty - return the id of the newly created item. Enterprise Architect will not consider the creation successful unless a valid ID is returned.

  • AddProperty(0, "id", "itemX");

[Optional] LogMessage or SetError - to provide user feedback.

Details

This method receives a request to create a new item in the External Provider. The input parameters string contains information about the item to create, including:

  • "title"
  • "type"
  • "stereotype"
  • "description"