Quantcast
Channel: NAV Three Tier — mibuso.com
Viewing all articles
Browse latest Browse all 10032

ODataV4 and Patch not supported or not working?

$
0
0
Hi,

I'm trying to update Sales Lines using ODataV4 and PATCH. Bumping in to the following problem every single time:
{
  "error": {
    "code": "",
    "message": "'PATCH' requests for 'Collection' are not supported by Microsoft Dynamics NAV OData web services."
  }
}

I've tried posting to Page 516 (List). Tried converting Page 516 to a Card. Creating a custom page as both a list and a card. Same problem regardless.

Is it:
  • Simply not supported? (!?)
  • Some kind of bug?
  • Me doing something wrong?


Currently using Postman to simulate a request like this:
{
	"Document_Type": "Order",
	"Document_No": "SO123456789",
	"Line_No": 10000,
	"Qty_to_Ship": 1,
}

Doesn't matter if i include the etag or not. Same problem regardless. Running Nav 2017.

Any input is greatly appreciated.

Viewing all articles
Browse latest Browse all 10032

Trending Articles