Cloud migration APIs
If you need to run the setup for multiple customers, databases, or environments, you can use APIs to automate your work. They have been implemented since Business Central 2022 wave 1. In Chapter 7, you learned how to call APIs in different ways, so I just describe which APIs are available and which parameters they have. You can read additional details about cloud migration APIs in Microsoft Docs at https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/administration/cloudmigrationapi/cloud-migration-api-overview.
In the next chapter, you will also find a PowerShell script that uses all these APIs.
Cloud migration setup API
As we need to perform several actions to complete the setup, this API also consists of three steps, as detailed next.
First step
Here, we input basic parameters—source migration product, connection string, SQL Server type, and the company where we want to run the setup, as follows:
- Headers:
Content...