I am on NAV 2018. Able to create Sales Order through the OData rest services. I need to modify the sales order in order change the "Tax_Area_Code" as the OData POST sales order doesn't work with "Tax_Area_Code". I am having difficulty understanding/using the etag returned by NAV.
Here is the etag returned when I create a sales order:
Here is a reference on how to use the etag value in PATCH request: (https://community.dynamics.com/nav/f/microsoft-dynamics-nav-forum/232296/odata---cannot-update-data-on-page--/674638) last reply.
Key is: If-Match
Value: W/"'<your etag>'"
in my case: W/"'JzUyO0pBQUFBQUNMQVFBQUFBSjcvMU1BVHdBdEFESUFNQUEzQURFQU1RQTRBRGNBQUFBQUFBPT05Ozc5NzM1NDIwNDA7Jw==\'"
error:
What am I doing wrong? Please comment if I am using the etag value properly.
Thanks!