Geodi Data Extraction API - Multiple Content Recognition Method

Geodi Data Extraction API - Multiple Content Recognition Method

A Token can be got by Generating a Geodi Token.

BulkRecognizeContents

BulkRecognizeContents

Definition

Returns entries found by scanners in the existing workspace from one or more content submitted by the user to GEODI.

Request

[GEODIURL]/DataExtractionHandler?op=BulkRecognizeContents&wsName=[WSNAME]&content=[ContentJson]&UserSession=[TOKEN]

HttpMethod

GET, POST

Expected Errors

401 Unauthorized access / Access denied

403 Forbidden

511 Network Authentication Required

501 Server Error

Returning value

{ "ElapsedMilliseconds":0, "Entries": [ { "OriginalText":"", "Text":"", "StartIndex":0, "Length":1, "Filter":null } ] }
  • ElapsedMilliseconds:  ms spent for recognition.

 

  • Entries: List of entrances recognized by GEODI.

    • OriginalText: A piece of text where recognition occurs

    • Text: The text of the recognition made within the text.

    • StartIndex: OriginalText's starting position within the text. (starting from 0)

    • Length: OriginalText's length

    • Filter: The value created for the entry, if any.

 

Example

Request : [GEODIURL]/DataExtractionHandler?op=BulkRecognizeContents { Contents : [ { ContentURL : '~/MyApplication/Content.php?id=1811', DisplayName:'Document1', ContentDate:'Mon, 06 May 2015 10:15:20 GMT', ViewURL : '~/MyApplication/ContentView.php?id=1811' }, { ContentURL : '~/MyApplication/Content.php?id=1812', DisplayName:'Document2', ContentDate:'Mon, 06 May 2015 10:15:20 GMT', ViewURL : '~/MyApplication/ContentView.php?id=1812' }, { ContentURL : '~/MyApplication/Content.php?id=1813', DisplayName:'Document3', ContentDate:'Mon, 06 May 2015 10:15:20 GMT', ViewURL : '~/MyApplication/ContentView.php?id=1813' }, ] }