
This a good article that describes how to integrate a third party application with D365FO using C# Console application and ODATA REAST API.
In this example we’ll insert a new record throught a Data Entity : https://shootax.blogspot.com/2019/10/d365fo-data-integration-by-odata-part-1.html