The APIs
You can work with the Web Services API of the ABBYY FlexiCapture 12 Application Server either via SOAP requests, JSON requests or POST requests. The interface to be accessed is determined by the address of the web service:| Method | When to use | Handler value |
|---|---|---|
| SOAP requests | Can be used for any operation | …/API/v1/Soap |
| JSON requests | Can be used for any operation | …/API/v1/Json |
| POST requests | Can be used to optimize file operations, such as uploading files to the server, uploading files in pieces, getting a check sum, downloading files from the server, etc. | …/FileService/v1 |
Authentication methods
In ABBYY FlexiCapture 12, you can connect to the Web Services API either with a Windows account or an ABBYY FlexiCapture account. For a Windows account you have two options:- Windows authentication: NLTM or Negotiate
- Basic authentication, passing your username and password as Base64-encoded string “username:password”
Add the suffix in the form of ?Tenant=MyTenantName at the end of the API connection address to specify a tenant.
Examples of Web service addresses with different authentication methods
Examples of Web service addresses with different authentication methods
| Windows account | ABBYY FlexiCapture account | |
|---|---|---|
| SOAP requests | https:// <ApplicationServer>/FlexiCapture12/Server/API/v1/Soap | https:// <ApplicationServer>/FlexiCapture12/Server/FCAuth/API/v1/Soap |
| JSON requests | https:// <ApplicationServer>/FlexiCapture12/Server/API/v1/Json | https:// <ApplicationServer>/FlexiCapture12/Server/FCAuth/API/v1/Json |
| POST requests | https:// <ApplicationServer>/FlexiCapture12/Server/FileService/v1 | https:// <ApplicationServer>/FlexiCapture12/Server/FCAuth/FileService/v1 |
