I am trying to use projection PartsHandling in IFS10 update 8 with a C#/VB program, .NET 4.7.2, NuGet package Microsoft.OData.Client v7.7.1.
Reading many parts works:
GET /main/ifsapplications/projection/v1/PartsHandling.svc/PartCatalogSet?$select=PartNo,Description&$skip=150&$top=50 HTTP/1.1
Reading a single part works correctly:
GET /main/ifsapplications/projection/v1/PartsHandling.svc/PartCatalogSet?$filter=PartNo eq 'MYPART'&$top=1&$count=true HTTP/1.1
Creating a part also works:
POST /main/ifsapplications/projection/v1/PartsHandling.svc/PartCatalogSet HTTP/1.1
But updating the same part does not work:
PATCH /main/ifsapplications/projection/v1/PartsHandling.svc/PartCatalogSet('MYPART') HTTP/1.1
I got that error:
{"error":{"code":"ODP_NOT_ALLOWED","message":"Illegal operation."}}
I did not find documentation about ODP_NOT_ALLOWED but it probably mean "OData PATCH not allowed". I looked at the documentation in Aurena, under API Explorer, for the PartsHandling projection and the entity set PartCatalogSet allows GET/POST/DEL/PATCH. What is causing that ODP_NOT_ALLOWED error when updating a part?