ODataV4 and Patch not supported or not working?

idonavidonav Member Posts: 31
edited 2017-05-01 in NAV Three Tier
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.

Answers

  • krikikriki Member, Moderator Posts: 9,115
    [Topic moved from 'NAV/Navision Classic Client' forum to 'NAV Three Tier' forum]

    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


Sign In or Register to comment.