Add document

A document is one entry in the table when selecting a File Management in the left menu. The document have a name displayed as the name of the document. In the example bellow there is one document with the name Test. 

An important document field is the refid which is used to access the document and add attachments, update etc. 

A document has also a
  • information (text)
  • user status (int)
  • progress (int)
  • progress max (int)
  • refid (text)

Adding a new document

con.add(parentid, "myrefid", "My name", "some info", MgmtAPI.STATUS_CREATED, userstatus);