For the complete documentation index, see llms.txt. This page is also available as Markdown.

Document Upload

Document upload

post
/api/Public/DocumentUpload/upload
Authorizations
AuthorizationstringRequired

JWT access token from POST /auth/token. Paste the token without the "Bearer " prefix.

Body
documentNamestring · nullableOptional
fileDatastring · nullableOptional
categoryIdinteger · int32 · nullableOptional
referenceNostring · nullableOptional
Responses
200

OK

No content

post/api/Public/DocumentUpload/upload
POST /api/Public/DocumentUpload/upload HTTP/1.1
Host: demoapi-core.emsigner.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 77

{
  "documentName": "text",
  "fileData": "text",
  "categoryId": 1,
  "referenceNo": "text"
}
200

OK

No content

Upload bulk

post
/api/Public/DocumentUpload/upload-bulk
Authorizations
AuthorizationstringRequired

JWT access token from POST /auth/token. Paste the token without the "Bearer " prefix.

Body
Responses
200

OK

No content

post/api/Public/DocumentUpload/upload-bulk
POST /api/Public/DocumentUpload/upload-bulk HTTP/1.1
Host: demoapi-core.emsigner.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 93

{
  "documents": [
    {
      "documentName": "text",
      "fileData": "text",
      "categoryId": 1,
      "referenceNo": "text"
    }
  ]
}
200

OK

No content

Get file data

get
/api/Public/DocumentUpload/get-file-data/{documentId}
Authorizations
AuthorizationstringRequired

JWT access token from POST /auth/token. Paste the token without the "Bearer " prefix.

Path parameters
documentIdinteger · int32Required
Responses
200

OK

No content

get/api/Public/DocumentUpload/get-file-data/{documentId}
GET /api/Public/DocumentUpload/get-file-data/{documentId} HTTP/1.1
Host: demoapi-core.emsigner.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

OK

No content

Last updated