Forum Discussion

useruserhi91's avatar
useruserhi91
Helper I
1 year ago
Solved

How can I connect to BC365 data using REST API connector?

I have a custom/"advanced" API in BC365, and I want to pull all data from this API into my Fabric Warehouse (or Lakehouse).

I want to use the REST connection in Copy data activity within pipelines for this. For the "base URL" I provided the base URL (https://api.businesscentral.dynamics.com/v2.0/{{tenentid}}) and it seemed to work upon testing the connection:

 

I am lost on how to proceed from here with: What to provide for other parameters and how to get these parameters?

The data I specifically want to pull are salesInvoiceLines from BC365 custom API. I need to pull all the salesInvoiceLines. So something like this, I assume: https://api.businesscentral.dynamics.com/v2.0/{{tenentid}}/Production/api/{{anonymized}}/SalesInvoices/v2.0/companies(guid)/salesInvoiceLines(guid).

I'd appreciate specific instructions, thanks!

1 Reply