resetItemFields
void resetItemFields(SessionId sessionId,
BitemId[] itemIds,
ColumnId columnId,
string* data,
ItemSelectionOptions *options)
throws BasketServiceFault;
See also: SessionId, BItemId, ColumnId, ItemSelectionOptions, BasketServiceFault
Reset the values of fields defined by the intersection of one user-defined basket column and a set of selected basket items (rows) of the session’s basket.
Basket items whose fields are to be reset are selected based on the specified item IDs and the item selection options that may be given with the options parameter. If no item ID is specified, then all currently existing basket items are selected, including the top folder.
If the parameter data is not specified, then an empty string will be used instead.
The implementation of this operation attempts to make sure, but cannot guarantee, that no field value has been changed in case of an abnormal termination of the operation.
The operation fails with a BasketServiceFault if
-
The session ID, one of the item IDs, or the column ID is not a properly formatted UUID.
-
The session ID does not reference an existing session.
-
One of the item IDs does not reference an item currently existing in the session’s basket.
-
An item ID is specified more than once (optional).
-
The column ID does not reference a user-defined column within the session’s basket.
-
The column ID identifies a read-only column.
-
The new value specified with parameter
datadoes not conform to the requirements defined for the column type (empty strings are always valid).