8.5.108 DocumentItem

The DocumentItem data record contains the data of one entry in the backend's document list. It is used to report, add or modify the properties of a stored document thru the API. Beside this, the InventoryLogEntry record is used to specify a filter when getting a list of DocumentItem records. in such a case, all fields which are missing or null are interpreted as a wildcard, specified fields must match to include the item in the list.

Key Type Value
documentId Number A unique ID of this record (auto generated).
fileName String Name of the file. The name must be unique, all files are stored in the same directory.
contentType String Content type of the file. must be one of application/pdf, image/png or image/jpg.
fileContent String The file content as a BASE64 coded string
driver String The satnms driver name this document refers to or null if it does not refer to a driver / device type.
mncName String The M&C name this document refers to or null if it does not refer to a M&C.
comment String free text
modified TimeStamp automatically created timestamp of last change