visoft / ruby_odata

OData Consumer for Ruby
http://bit.ly/IntroRubyOData
MIT License
107 stars 52 forks source link

MS Dynamics NAV: Updating data #76

Open KDGundermann opened 7 years ago

KDGundermann commented 7 years ago

When updating an object in MS Dynamics NAV you will receive an error message:

Could not validate the client concurrency token required by the service. Please provide a valid token in the client request. For every GET request the NAV server delivers an ETag: - one ETag in the HTML-Header - one ETag as an attribute in the XML node `` - another ETag as an Entity in the XML/JSON document When updating an object, you have to deliver this ETag as an "If-Match" option in the HTML Header