Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

A Token can be got by Generating a Geodi Token.

BulkRecognizeContents

DefinitionReturns entries found by browsers 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]

HttpMethodGET, POST
Expected Errors

401 Unauthorized access / Access denied

403 Forbidden

511 Network Authentication Required

501 Server Error

Returning value


Code Block
{
	"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


Code Block
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'
        },
    ]
 }


...