As the previous recipe took us through reading data from the API, it's only fair that we now create some.
This recipe will show you how to create data using the Business Central API.
As the previous recipe took us through reading data from the API, it's only fair that we now create some.
This recipe will show you how to create data using the Business Central API.
You need to have your AL development sandbox for this recipe. Once again, this recipe is built around you using a Business Central online sandbox.
You must complete the Enabling basic authentication recipe earlier in this chapter, in order to set up your system to authenticate properly. Make sure you have noted the username and web services keys as you'll need those in this recipe.
While you can access the API from any platform that supports web requests, we'll use PowerShell...