Skip to content
pCon.configurator onlineDocumentation
Esc
↑↓navigate↵open⌘Jpreview
On this page

moveItems

Synopsis

MoveItemsResult[] moveItems(SessionId sessionId,
    MoveItemsDirection direction,
    BItemId[]          itemIds)
throws BasketServiceFault;

See also: MoveItemsResult, SessionId, MoveItemsDirection , MoveItemsDirection, BItemId, BasketServiceFault

The moveItems operation moves the basket items identified by the elements of the itemIds sequence parameter in the basket item tree maintained by the basket service for the session identified by the sessionId parameter. The direction argument specifies whether the specified items are to be moved up or down within their current folder, or are to be indented or unindented.

In all cases, the itemIds parameter must specify a possibly empty set of existing items all having the same parent item. The top folder must not be part of this set. If one of these conditions is violated, the operations fails with a BasketServiceFault.

A BasketServiceFault is returned if any of the following conditions occurs:

  • The the itemIds parameter specifies a set of existing items that don’t have the same parent item.

  • The top folder is part of the itemIds parameter.