API objects in AL
AL in Business Central gives you the ability to create two types of objects dedicated to the RESTful API if the built-in pages are not sufficient to interchange data with external systems. If you need to read and write data, use a page of the API
type. If you need to read data, possibly from multiple tables, use a query of the API
type:
- API page: Supports read-write transactions. Cannot be extended. Exposes data from a single table.
- API query: Read-only operations. Cannot be extended. Can expose calculated data from multiple tables.
API pages have a set of required properties that must be filled in, as listed in the following table:
|
Sets the publisher of the API endpoint the page is exposed in. |
|
Sets the group of the API endpoint the page... |