Hi experts,
I would like to fetch purchase documents posted in business central (cloud) using http/REST API in order to connect another app.
The API-Reference https://docs.microsoft.com/de-de/dynamics-nav/api-reference/v1.0/ seems to be the current one.
However, using this API it seems to be not possible to query purchase order documents.
That's why I was looking around and have found another REST-OData Endpoint named /ODataV4/ ... and it is acutally working calling /ODataV4/Company('CRONUS DE')/purchaseDocuments.
However, I could not find any documentation about that /ODataV4-API.
So, I am confused. Please let me know:
- Why there are two different OData API's, /ODataV4 and /api.
- Who should use which API?
-
- Is there a ODataV4-API documentation?
Thanks in advance, Oli