Two APIs currently exist in xentral:
You can find more in-depth information here.
The documentation for the REST API can be found in the xentral installation, matching the installed version, at www/api/docs.html. Here, the following will be explained:
- how to create an API account
- how to make requests to API resources, and
- which API endpoints exist
The API documentation is shipped with xentral and can be accessed in any xentral instance at instancename/www/api/docs.html in the browser. However, the /www/ is often not needed. Alternatively, the API documentation, organized by version, can also be found online: https://update.xentral.biz/apidoc/docs211.html
As a rule, the version can be specified in the path name. For example, version 20.1 can be found in the path docs201.html.
In the documentation of the Rest API, there is information about
- the debug mode
- the error codes
- web server configuration for Apache and Nginx
- accessing test databases (also test or MultiDB systems, from version 20.1)
Documentation and practical examples for the xentral standard API can be found online.
Note: When in doubt, the REST API is preferable for integration. The functions of the standard API will also be available in the REST API in the future.
Information, definitions and available functions can be found in the xentral documentation Standard-API.