Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MS Dynamics NAV: Updating data #76

Open
KDGundermann opened this issue Oct 9, 2017 · 0 comments
Open

MS Dynamics NAV: Updating data #76

KDGundermann opened this issue Oct 9, 2017 · 0 comments

Comments

@KDGundermann
Copy link
Contributor

KDGundermann commented Oct 9, 2017

When updating an object in MS Dynamics NAV you will receive an error message:
<m:message xml:lang="en-US">
Could not validate the client concurrency token required by the service. Please provide a valid token in the client request.
</m:message>

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
    <entry m:etag="W/&quot;'28%3BEgAAAAJ7BTEAMAAwADAAMAAAAAAA8%3B826339620%3B'&quot;">
  • 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant