I am trying to update a ProductionOrderHeader entity using odata. All the documentation talks about how to create a patch request to the odata endpoint that references the exact entity I am interested like so:
<our instance>/data/ProductionOrderHeader(<uniqueparameter>).. How does one get that <uniqueparameter> value? I can do a regular GET and use a filter to get the ProductionOrderHeader that I want:
<our instance>/data/ProductionOrderHeader?$filter=(ProductionOrderNumber eq 'Prod-000139') but in the returned Json I don't see anything to use for a unique id for this header. Now all I get back from my PATCH call is a "More than one resource was found when selecting for update" error.
An example would help a lot here. I am using node.js / axios to create the PATCH request