Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Uploading files is also possible through the API. It is done doing a sequence of steps:

  1. Initiate upload by calling method AddUploadFile with name of the file to upload. This returns uploadid (and itemid in Digizuite 4.8.0+)
  2. if the is not itemid is already returned in step 1, then get itemid by calling method GetItemIdFromUploadId
  3. Upload file to server by calling method UploadFileChunks (note we use chunked upload because IIS has a limit of 2GB)
  4. call method 04 - SetTransferMode to determine how the job system should handle the file (99% of the time this should be 1).
  5. Lastly, submit the upload by calling SubmitUpload to enable the job system to start processing.