Files

Resource type: file

With this API call you can modify file information for files of the modules properties, addresses, agents log and tasks.

By specifying the file ID (fileId), file information such as filename, free text, type of file, file title, etc. are changed.

Parameters:

  • fileId
    file ID
  • language
    language
  • Art
    type of file
  • file
    filename
  • title
    file title
  • freetext
    free text
  • documentAttribute
    document attribute (Dokumentenmerkmal)

Example: Modify a file

...
{
 	"actionid": "urn:onoffice-de-ns:smart:2.5:smartml:action:modify",
 	"resourceid": null,
 	"resourcetype": "file",
 	"identifier": "378602F9-181E-4DF0-AD19-01CA87E0ED79",
 	"parameters": {
 	 	"file": "JPEG_example_JPG_RIP_025.jpg",
 	 	"title": "Objekt1234",
 	 	"freetext": "Bild von Objekt 025 Innenansicht",
 	 	"documentAttribute": "document_expose",
 	 	"fileId": 586
 	}
}
...

If successful, the response will be success.