angela
1 year agoCatalyst II
Editing an item via REST API without item id. Can we specify a WHERE attribute?
Hi community,
I want to edit a custom item in Innovator via REST API. Typically the command looks like this: PATCH {base url}/Part(’16AA95A80DEB4B56BD8BA9BC509EAF0C’)
My 2nd software that shal...
- 5 months ago
Thanks Bryan and Daan for your feedback! Are you really sure this approach works when performing an edit? Yes, of course, using a filter sounds absolutely reasonable - but here´s the reality….😄
I get the same error when using PUT. I don´t have a collection. It´s a blank database with exactly one CAD item.
GET works fine.My current workaround is a custom Method. In general I started to prefer custom Methods for REST call. They allow much more control and validation.
And it´s maybe a good thing that PATCH behaves this way. This way people only can destroy one item at a time. That´s a big plus! :)