Generic API Page This feature provides a single API entry point, shared by all integrations that exchange JSON data with Business Central. Instead of publishing a different service for each integration, external systems (or another Business Central installation) send every request to the same address, specifying: the subsystem, i.e. the integration that must process the request; the procedure, i.e. the operation requested from that subsystem; the request content in JSON format. Business Central forwards the request to the specified subsystem and returns the response, also in JSON format. The available subsystems depend on the active features, for example: Bulk Importer Synchronization Handler Intercompany Management iPharma and iWMS integrations The external system sends a POST request to the generic endpoint of the company's brayns/api/v2.0 API. The request contains: Field Description Subsystem Number identifying the integration that must process the request. If it is 0, a test call is performed. Procedure Name of the requested operation. Mandatory. Compression Specifies whether the content is compressed (GZip) before Base64 encoding. Body JSON content of the request, Base64 encoded (and optionally compressed). Mandatory. In the response it contains the returned JSON, encoded the same way. If the subsystem is 0, no integration is run: the response contains the company name, an indication that it is a test call and the received procedure name. This is useful to verify that the connection and credentials work. If the procedure name is missing, the error Missing procedure name is returned. If the body is missing, the error Missing body is returned. Errors raised by the subsystem are returned to the caller; when the call comes from another Business Central installation, the error message is shown to the user. Integrations that support it can use the same feature to call another Business Central installation (for example an on-premises one), specifying server address, company and login credentials. In this case data compression is enabled by default, to reduce the amount of data transmitted. The Generic API Test page lets you try a subsystem directly from Business Central, without going through an external system. Field Description Subsystem Integration to test, chosen from the list of available subsystems. Procedure Name of the operation to run. Request JSON content of the request, in plain text. Response JSON content returned by the subsystem. Choose the search icon (lightbulb), enter Generic API Test, and open the page. In the Subsystem field, select the integration to test. In the Procedure field, enter the operation name. In the Request field, enter the request JSON (for example {} if no parameters are needed). Choose the Test action. The result is shown in the Response field.