--- title: "Integration patterns" slug: "integration-patterns" description: "Integrate external apps using OData and custom services with Dox42's entity actions for seamless report generation and transaction management." tags: ["concept", "d365fscm", "FSCM V2.0.0.2"] updated: 2025-07-22T09:07:36Z published: 2025-07-22T09:07:36Z canonical: "help.dox42.com/integration-patterns" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.dox42.com/llms.txt > Use this file to discover all available pages before exploring further. # Integration patterns # Integration patterns ## Integration based on OData OData entity actions can be used to integrate with external apps. There are following OData entity actions available: - **Dox42IntegrationProfileEntity_SF** data entity (public name Dox42IntegrationProfiles_SF): - **runRequest**: runs request with no result returned (allows to run request synchronously and asynchronously). - **runRequestAndGetReportFileUrl**: runs request synchronously and returns the report file URL. - **runRequestAndGetReportFileUrlList**: runs request synchronously and returns the report files as a list of URLs (allows to return more than one file if needed). - **runRequestAndGetReportFileBase64**: runs request synchronously and returns the report file as Base64 encoded string. - **runRequestAndGetReportFileBase64List**: runs request synchronously and returns the report files as a list of Base64 encoded strings (allows to return more than one file if needed). - **runRequestAndGetReportTransaction**: runs request synchronously and returns the report transaction id used as an input parameter in the dox42 template. - **runRequestAndGetReportTransactionList**: runs request synchronously and returns a list of the report transaction ids (allows to return more than one report transaction id if needed). To be able to call the entity actions, the security role “dox42 integration OData services consumer” (Dox42IntegrationODataServiceConsumer_SF) should be applied. For example, this approach can be used to integrate with Microsoft Power Automate: ![Form fields for executing an action in a software integration process.](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/D365FSCM_integration_MS_power_automate.png) Integration with Microsoft Power Automate ## Integration based on custom services Custom service methods can be used to integrate with external apps. There are following custom service methods available: - **Dox42IntegrationServices_SF** service group, “Dox42IntegrationService_SF” service name, operations: - **runRequest**: runs request with no result returned (allows to run request synchronously and asynchronously). - **runRequestAndGetReportFileUrl**: runs request synchronously and returns the report file URL. - **runRequestAndGetReportFileUrlList**: runs request synchronously and returns the report files as a list of URLs (allows to return more than one file if needed). - **runRequestAndGetReportFileBase64**: runs request synchronously and returns the report file as Base64 encoded string. - **runRequestAndGetReportFileBase64List**: runs request synchronously and returns the report files as a list of Base64 encoded strings (allows to return more than one file if needed). - **runRequestAndGetReportTransaction**: runs request synchronously and returns the report transaction id used as an input parameter in the dox42 template. - **runRequestAndGetReportTransactionList**: runs request synchronously and returns a list of the report transaction ids (allows to return more than one report transaction id if needed). To be able to call the custom service methods, the security role “dox42 integration custom services consumer” (Dox42IntegrationCustomServiceConsumer_SF) should be applied. For example, calling JSON based custom service: ![JSON request body for API integration with various configuration parameters listed.](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/D365FSCM_integration_JSON_based_custom_service.png) Calling JSON based custom service