Defining API Mappings
Learn how to instruct Business Central to receive and process API data:
Mappings tell Business Central how to handle data an API call retrieves, matching values from the external system to Business Central tables and fields.
Example: mapping product data from a PIM system to item record fields
Setup
- Execute the API Function to generate an API Message
- Open the API Message's data buffer
- Use the buffer to auto-build initial mappings
- Configure root-level and record-level nodes
- Map individual data elements to the correct fields
Mapping Types
- Function Root Node
- The top-level process; parent to all mappings
- Record Node
- The starting point for creating records in a specific table
- Element
- A single data value mapped to a Business Central field
- Record Node Value
- A data entry with no corresponding external element
If the auto-generated mappings don't cover everything, you can build mappings manually.
➡️Next Step: Copying API Functions