Method GetDocumentsToAnalyze
GetDocumentsToAnalyze(String, Int32)
Get documents to analyze
Declaration
List<DocumentToAnalyzeContract> GetDocumentsToAnalyze(string connectionId, int resultCount)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionId | The connection id to identify your connection. See also ConnectionId |
System.Int32 | resultCount | Count of documents to return |
Returns
Type | Description |
---|---|
System.Collections.Generic.List<DocumentToAnalyzeContract> | List of document to analyze |
Examples
POST http://YourServerName/InfoShare/Json/Server/GetDocumentsToAnalyze
Example for get documents to analyze.{
"connectionId": "e3b3b164-9b0b-4d00-9981-83fe4835df1a",
"resultCount": 5
}
Response:
{
"GetDocumentsToAnalyzeResult": [{
"AutoSuggest": true,
"EntryDate": "26\/09\/2019 08:22:51",
"Fulltext": true,
"FulltextProperties": true,
"Id": "f438959c-4cd1-e911-a93b-00155d290a08",
"MailAttributes": true,
"PageCount": false,
"PdfA": false,
"SearchablePdf": true,
"Thumbnail": false,
"ThumbnailBlobStoreId": null,
"ThumbnailBlobStoreProviderId": null,
"ThumbnailSize": 150,
"WriteFulltextToProperty": false
}, {
"AutoSuggest": false,
"EntryDate": "26\/09\/2019 08:22:51",
"Fulltext": false,
"FulltextProperties": false,
"Id": "6ba7a04c-a0df-e911-a949-00155d290a08",
"MailAttributes": true,
"PageCount": true,
"PdfA": false,
"SearchablePdf": true,
"Thumbnail": true,
"ThumbnailBlobStoreId": "d26cc061-b7cf-e911-a939-00155d290a08",
"ThumbnailBlobStoreProviderId": "c695826a-890c-11d9-a9b6-0040ca614638",
"ThumbnailSize": 250,
"WriteFulltextToProperty": false }]
}
Exceptions
Type | Condition |
---|---|
ServiceException | The connection id {connectionId} isn't valid or has expired (10008) |
ServiceException | Verification code is needed: Verification code not yet verified (10152) |