SOAP and REST Web Services Issues Resolved in 2021.04
The following issues with SOAP and REST web services were resolved in the 2021.04 release.
Feature Replacement for Deployed Products Now Working Properly
The REPLACE operation for individual features in the updateProduct SOAP web service now properly replaces a given feature in a deployed project (as long as the editing of deployed products is allowed).
Changes to the updateDevice SOAP Method
The updateDevice method in the V3 and V4 ManageDeviceService SOAP web service had the following changes:
| • | Single channel partner recommended in channel partner list |
| • | Support for only Replace operation in channel partner list |
Single channel partner recommended in channel partner list
As in previous releases, the updateDevice method supports a list of channel partners. However, because a device is currently limited to one channel partner, the web service code, in turn, considers only one channel partner for the method. Therefore, you are strongly recommended to include only one partner in the channel partner list. If the list contains more than one channel partner, the behavior of updateDevice method is unpredictable.
Support for only Replace operation in channel partner list
Previously, the opType element, required for managing a channel partner list for the updateDevice method, had three possible values: Add, Delete, or Replace. This element now supports only the Replace value. If you specify Add, Delete, or Replace or omit the element altogether, the method will always use Replace. (If you attempt to specify Add or Delete, a message is returned in the response, explaining that Replace was used instead.)