{"id":31704,"date":"2018-01-09T15:57:14","date_gmt":"2018-01-09T23:57:14","guid":{"rendered":"https:\/\/ephesoft.com\/docs\/2019-1-2\/developers\/web-services-api\/"},"modified":"2021-08-17T10:00:44","modified_gmt":"2021-08-17T17:00:44","slug":"web-services-api","status":"publish","type":"docs","link":"https:\/\/ephesoft.com\/docs\/products\/transact\/developers\/web-services-api\/","title":{"rendered":"Transact Web Services API"},"content":{"rendered":"

Ephesoft Transact\u2019s OpenAPI-Compliant web services provide a simple method for real-time integration and exposure of Ephesoft Transact capabilities to external applications, allowing developers to embed advanced capture features in their own solutions without having to display the Transact user interface.<\/p>\n

Ephesoft provides over 60 Transact web services to perform advanced capture actions in your custom applications. These web services perform tasks that range from simple actions like determining which batch instances can be seen by an individual user, to performing complete OCR, classification, or extraction procedures on a collection of documents.<\/p>\n

Ephesoft Transact web services support the self-documenting feature of the OpenAPI Specification v2.4.0 (formerly known as the Swagger Specification). This means that tools like Swagger UI can be used to browse the collection of web services and view detailed documentation for each web service. The Swagger UI tool is bundled with Ephesoft Transact, and can be accessed by navigating to the following URL in your Transact instance:<\/p>\n

http:\/\/<server_name>:<port>\/dcma\/rest\/swagger-ui.html<\/strong><\/p>\n

Navigating to this URL will take the user to the Ephesoft Transact Web Services Explorer, as shown below. This interface lists all Ephesoft Transact web services on a single page, allowing both seasoned developers and \u201ccitizen developers\u201d to browse and navigate through the Ephesoft Transact web services available within their server.<\/p>\n

\"\"
Ephesoft Web Services Documentation Screen<\/em><\/span><\/figcaption><\/figure>\n

This interface also allows the user to review detailed information about each web service. Clicking a web service in the Web Services Explorer allows you to drill further into the web service to view additional details, as shown below.<\/p>\n

\"\"
Ephesoft Web Services Implementation Notes<\/em><\/span><\/figcaption><\/figure>\n

The overall Ephesoft Transact OpenAPI-compliant web services definition file for all API endpoints is represented in JSON format. This definition file can be found at the following location in your Transact instance: http:\/\/<server_name>:<port>\/dcma\/rest\/v2\/api-docs.json<\/p>\n

Ephesoft Transact Web Services Optimized for Workflow Engines<\/h2>\n

All Ephesoft Transact web services support the self-documenting capabilities of the OpenAPI Specification, but only two Ephesoft Transact web services, v2\/ocrClassifyExtract and v2\/ocrClassifyExtractBase64, provide simplified JSON responses, allowing them to be embedded into workflow engines like Nintex and Microsoft Flow. These minimized JSON responses have a smaller footprint and improved interoperability. An example of this minimized JSON response is shown below.<\/p>\n

\"\"
Minimized JSON Example<\/em><\/span><\/figcaption><\/figure>\n

These two web services have been optimized specifically for advanced workflow engines. See the following links for more information about these two web services:<\/p>\n