Method SetDocumentAnalyzerStatus
SetDocumentAnalyzerStatus(String, String, Int32)
Set document status for document analyzing to a special status. You need edit admin store rights for this.
Declaration
void SetDocumentAnalyzerStatus(string connectionId, string documentId, int status)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionId | The connection id to identify your connection. See also ConnectionId |
System.String | documentId | The document id. See also Id |
System.Int32 | status | Status to set. (0 = Failure, 1 = Analyze, -1 = Finished) |
Examples
POST http://YourServerName/InfoShare/Json/Document/SetDocumentAnalyzerStatus
Example for set document status for document analylzing to a special status.{
"connectionId": "1fbe116a-20a9-4378-b198-6cf3283f0238",
"documentId": "d2c01001-18d0-e911-a93a-00155d290a08",
"status": 1
}
Response:
{ }
Exceptions
Type | Condition |
---|---|
ServiceException | The connection id {connectionId} isn't valid or has expired (10008) |
ServiceException | Not allowed (10014) |
ServiceException | Verification code is needed: Verification code not yet verified (10152) |