Example of API method "insertAPIEntry()" wanted. Can API method "db.entryCopier()" return newly created entry or root node id?


#1

Since the unclear and lack of documentation of some API method.
I would rather ask for a helping hand in here.


#2

Calling insertAPIEntry simply returns an APIEntry object where you can call save() to save it to the database as a new record.

Currently db.entryCopier() only returns a message of success or not. You should be able to call response.getRootNodeId() to retrieve the entryRootNodeId.