Uploads a document to a specific request by accepting a file as an IFormFile.
The file is uploaded to blob storage and corresponding dbo.RequestDocument and dbo.RequestDocumentVersion records are created.
The method validates the file, authorizes the user, initializes the upload process, writes the file to storage,
activates the upload, and creates queue messages and activity feed entries for tracking the document upload.For general file-cabinet storage that is not tied to a request, use the Files container/folder
upload endpoints instead (POST /api/v2/files/containers/{containerID}/files or
POST /api/v2/files/folders/{folderID}/files).
Request
Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.