Discussions

Ask a Question
Back to All

What steps are necessary to create, upload and share documents?

My idea:

  • Authentication
  • First create FileIDs individually or in BATCH:
    POST /api/files
  • Then upload the files to the created FileIDs:
    PUT /api/files/{id}/upload
  • Then create the documents with the master data assignment individually or in BATCH:
    POST /api/documents
  • Optional: Release the documents, e.g. if no auto-release has been set up for the document type:
    PUT /api/documents/{id}/shares