I am integrating an external system that create purchase orders and receipts in Business Central. i need to provide API details . While I can retrieve data using exposed web services, I encounter an error when posting data: "Number does not exist on type 'MAV.PurchaseOrder'".
So I am using the standard Business Central API: https://api.businesscentral.dynamics.com/v2.0/tenant{id}/Dev-Sandbox/api/v2.0/companies(company){id}/purchaseOrders
.
- GET request: Returns the error mentioned below
- POST request: Successfully creates purchase orders.
Any ideas on how to resolve this issue?