Skip to main content
Adds a new document from an image file into a batch. To create a document without an image, leave the file parameter empty (file.Name = "", file.Bytes = new bytes [0]). A new document is created with the excludeFromAutomaticAssembling flag set to True. This flag indicates that the document has already been assembled, so the assembly settings specified for the batch type are not applied to it. The added documents become accessible only after their images are pre-processed. Use the ProcessBatch method to start batch processing after you add the documents. When a new document is added into the batch, the Id field of the corresponding object must not be empty. If you are adding PDF documents and want the program to use the text stored in their text layer, make sure that the Use PDF text layer instead of OCR option is selected for the project in which the documents will be processed. This option is on the Processing tab of the Page Properties dialog box.

Definition

Parameters

Add a document image with a POST request

You can also use a POST request to add a document image. First, create a document with an empty file (file.Name = "FileName", file.Bytes = new bytes [0]). Then execute a POST request with the following parameters.

Returned value