How to insert datatable into database using API

Hi All,

In my project I get the data in form of Data table and I need to insert this data table into Database by using API .

please let me how we can achieve insert datatable into database by using API