Skip to main content
To implement a single-document processing scenario, create the following functions: SendForProcessing WaitFirstVerificationOrProcessed FetchingCapturedData SingleDocumentBatchIsProcessed

SendForProcessing

The SendForProcessing function sends a file to FC for recognition and returns a batch identifier. Input parameters: Output parameter type: int (batch identifier). Exceptions thrown: Exception. Java source:

WaitFirstVerificationOrProcessed

The WaitFirstVerificationOrProcessed function returns a verification URL. If the document has not reached the verification stage, an empty string is returned. Input parameters: Output parameter type: String (verification URL). Exceptions thrown: Exception. Java source:

FetchingCapturedData

The FetchingCapturedData function returns a list of output fields in JSON format. Input parameters: Output parameter type: String (document fields in JSON format). Exceptions thrown: Exception. Java source:

SingleDocumentBatchIsProcessed

The SingleDocumentBatchIsProcessed function returns a value that specifies whether a batch has been processed or not. Input parameters: Output parameter type: boolean (true if the document is at the Processed stage and false otherwise). Exceptions thrown: Exception. Java source: