-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Description
When updating an object in MS Dynamics NAV you will receive an error message:
HTTP/1.1 400 Bad request
<m:message xml:lang="en-US">
An error occurred while processing this request.
</m:message>
ruby_odata inserts an __metadata attribute in the class:
# Fill metadata
meta_id = entry.xpath("./atom:id", @ds_namespaces)[0].content
klass.send :__metadata=, { :uri => meta_id }
When updating the object, this __metadata will be included in the JSON document, but the NAV server does not accept this unknown value.
Metadata
Metadata
Assignees
Labels
No labels