API Information and CSM
API data refers to the information that is passed between different software programs or systems. In Business Central, an API allows external systems to access and manipulate data within the Business Central system. This allows for seamless integration between different systems and automation of tasks.
API credentials in Business Central refer to the information that is needed to authenticate and authorize access to the Business Central API. This information typically includes a unique key or token that identifies the system or user attempting to access the API, as well as any additional information required to authenticate the request.
In Business Central, API credentials are typically managed using security keys, which are unique identifiers that are used to authenticate and authorize access to the API. They are generated and managed through the Business Central administration interface.
It is important to keep API credentials secure as they provide access to the data and functions of the system, so they should be kept confidential and not shared with unauthorized parties.
Test channel communication is a way to test the communication between different systems before going live with the integration. It allows developers to test the API and ensure that it is functioning properly, and that the data is being passed correctly. This can help identify and fix any issues before they affect live operations.
In cases where API or Sales Channel data is altered, it can determine the type of message Business Central will give users based on actions performed. For example, in Magento, if the “Bearer Token” field is blank in your API Credentials, then when the Test Communication action is run on the CSM Sales Channel page it will display a message stating that the Bearer Token is invalid (unrecognized credentials). Once the Bearer Token is entered into the API Credentials, then the Test Communication in the CSM Sales Channel will display a message stating that the communication test has succeeded. The overall outcome should be that when an error message occurs within altered API Credentials or Sales Channel data then the Test Communication message should fail. If the data is good, then the Test Communication message should pass.