Method GetAnalyzerDocumentCount
GetAnalyzerDocumentCount(String)
Retrieve document counts of the document analyzer
Declaration
List<AnalyzerDocumentCountContract> GetAnalyzerDocumentCount(string connectionId)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionId | The connection id to identify your connection. See also ConnectionId |
Returns
Type | Description |
---|---|
System.Collections.Generic.List<AnalyzerDocumentCountContract> | List of InfoStores and there counts |
Examples
POST http://YourServerName/InfoShare/Json/Server/GetAnalyzerDocumentCount
Example for get analyzer document count.{
"connectionId": "e3b3b164-9b0b-4d00-9981-83fe4835df1a"
}
Response:
{
"GetAnalyzerDocumentCountResult": [{
"Action": 1,
"DocumentCount": 4,
"InfoStoreId": "e46bc061-b7cf-e911-a939-00155d290a08"
}, {
"Action": 1,
"DocumentCount": 1,
"InfoStoreId": "c5b7dd4e-b8cf-e911-a939-00155d290a08"
}, {
"Action": 1,
"DocumentCount": 1,
"InfoStoreId": "5ff3c8f6-b8cf-e911-a939-00155d290a08"
}, {
"Action": 1,
"DocumentCount": 2,
"InfoStoreId": "67727470-b9cf-e911-a939-00155d290a08"
}, {
"Action": 1,
"DocumentCount": 10,
"InfoStoreId": "eb299c1d-8bd0-e911-a93a-00155d290a08" }]
}
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) |