curl --request POST \ --url 'https://api.businesscentral.dynamics.com/v2.0/XXXXXXXXXXXXXXXXXXXX/Testing/ODataV4/Test_CreatePurchase?company='XXXXXXXXX\''' \ --header 'Content-Type: application/json' \ --data '{ "_Header": "00007180", "_Lines": [ { "Quantity": 12, "Amount": 1000 }, { "Quantity": 10, "Amount": 2000 } ] }'
procedure CreatePurchase(_Header: Code[20]; _Lines: JsonObject): Text .......................
Answers