Skip to content
  • There are no suggestions because the search field is empty.

Defining API Functions

Set up an API set with an endpoint and credentials, then create individual API functions for various calls in Business Central, configuring their properties and testing them to ensure they function correctly.

An API function holds the configuration for one specific API call. For example, separate functions for customers, vendors, or items.

  • Search for API Sets and select the related link
    • Select your desired API Set and choose API Functions
      • Enter a unique Function Code and a Description
      • In Static Path, enter the URL path to append to your API set's endpoint
      • Set Request Processing Method
        • Use the default, or a custom method built by a developer
      • Set Buffer Processing Type to control how the API message's data structure is built
      • Choose a Response Processing Method:
        • None
          • No further processing by API Engine
        • Single Record Update
          • Creates or updates one record
        • Multiple Records Update
          • Creates or updates multiple records
      • Choose Execute to test the function and review the resulting API message

 

 ➡️Next Step: Defining API Variables