ABBYY Verification UI
Description
This REST service handles ABBYY verification Service requests. This API is used to verify the OCRed documents for ABBYY.
Definition
POST {{Org_URL}}/services/apexrest/intadapter/resumeOrchestratorFlow
Authentication Type
Basic Salesforce Auth 2.0
See this link for SFDC Documentation: https://help.salesforce.com/articleView?id=remoteaccess_oauth_web_server_flow.htm&type=5
Parameters
Request Header Parameters
The following table provides the details of the request header parameters used by this web service:
Key | Value |
---|---|
Content-Type | application/JSON |
charset | UTF-8 |
Accept | application/JSON |
Request Body Parameters
The following table provides the details of the request body parameters used by this web service:
Field Name | Type |
---|---|
orchestratorId | String |
configNameToIdsMap | Object |
sourceId | String |
ocrTaskId | String |
Error Messages
When you use this web service you can receive the possible error messages as shown in the following table:
Status Code | Error Message |
---|---|
400 | Bad request |
401 | Authorization information is missing or invalid |
404 | Not found |
500 | Internal server error |
Sample Request
The sample request that you receive is as shown in the following block:
{ "orchestratorId": "aBS6O000000XZYS", "configNameToIdsMap": "", "sourceId": "0016O000039glsQQAQ", "ocrTaskId": "02u5e000000kq90"}
Sample Response
The sample response that you receive is as shown in the following block:
Usage/ How to Invoke
var orchestratorRecordId = {{OrchestratorId}}; var ocrSourceID = {{ocrSourceID}}; var ocrTaskId = {{ocrTaskId}}; var requestParam = { orchestratorId: orchestratorRecordId, configNameToIdsMap: null, sourceId: ocrSourceID, ocrTaskId : ocrTaskId }; sforce.apex.execute('intadapter.ABBYYWebService', 'resumeOrchestratorFlow', { requestParameters: JSON.stringify(requestParam) });