Developer forum

Forum » Integration » Are ODataV4 still recommend for exports?

Are ODataV4 still recommend for exports?

Michael Knudsen
Reply

Integrations from Dynamicweb to Business Central (export) are this still recommend to use the /ODataV4/Company() endpoint vs. using the /api/v2.0/companies() endpoint ?

https://doc.dynamicweb.dev/manual/dynamicweb10/integration/guides/blueprints/bc-odata-v4-blueprint.html#business-central-v4-entities---exports

Br. Michael Knudsen


Replies

 
Rasmus Sanggaard Dynamicweb Employee
Rasmus Sanggaard
Reply
This post has been marked as an answer

Hi,

It really depends. The OData V4 approach (e.g., exposing UI pages as endpoints) is deprecated, but it will still live for some time, and nobody knows exactly when it will be sunsetted.

If the fields you need are in the API, use that. If performance and future-proofing are key, use the API. Only use the V4 approach for quick time-to-market integrations that are not mission critical. If the fields are not available in the API, you need the ERP partner to expose them via a query or an API page.

BR Rasmus Sanggaard

Votes for this answer: 2

 

You must be logged in to post in the forum