Create a new document
Description
Creates a new document.
Package Details
Interface
IDocumentManager
Syntax
Task Create<TDocument, TMetadata>(TDocument document, TMetadata metadata, string serviceRequestNameEnglish, string serviceRequestNameFrench, string documentVersion, int serviceRequestId, int userId);
Returns
Task
API Endpoint
Parameters
Parameter | Description | Parameter Type |
---|---|---|
Sample request body
Returns
On success, 200 Ok
On error, 400 Bad Request
On authorization error, 403 Forbidden