UploadOCR

Description Uploads an OCR result to the database.
Method Type POST
URL api/ocr/upload-ocr
Parameters
Name Type Description
OCR String OCR text.
DocumentID Object

The specified document’s DocumentID.

The DocumentID can be any object, for example an absolute path of a file, or a database row ID. The specified Content-Engine will interpret the DocumentID and serve the document.

CE (Optional) String

The Specified Content-Engine.

Possible values:

0: Default Content-Engine (default)

1: FileEngine

2: DatabaseEngine

Response Type JSON (JsonResult)
Return values

{

response (String)

}

Programming notes

The API will automatically read the OCRDatabaseType value from the appsettings.json file, and decide if the OCR must be stored in the SQL, or in the ODBC database.

Example

None

Requirements