The API library for Business Central provides a simplified representation of the underlying entities. All the properties in the application are not exposed through the associated API. The API Setup page allows you to define templates that are used to populate empty properties on an entity when you create a POST action through the API.
For example, if a configuration template is defined for the item entity, when a new item record is created through the items API, any properties for the new item that are not defined in the API call will be populated from the selected template. If, for example, no value is defined for the Gen. Prod. Posting Group field through the API, but a value is defined in the selected template, then the posting group value defined in the template will be applied to the new item.
To use templates with the API library, you must first set up and define properties for the templates. You can set up these templates on the Configuration Templates page. For more information, see Prepare to Migrate Customer Data.
To assign a template to an API, you must go through the following steps.
API Documentation
Developing Connect Apps for Business Central
Enabling the APIs
Endpoints for the APIs
Setting Up a Company with RapidStart Services
Administration
© 2019 Microsoft. All rights reserved.