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

getTopFolderId

Synopsis

BItemId getTopFolderId( SessionId sessionId,
    ViewId viewId)
throws BasketServiceFault;

See also: BItemId, SessionId, BasketServiceFault

The getTopFolderId operation returns the basket item ID of the root node of the tree of basket items maintained by the basket service for the session identified by the sessionId parameter.

If the argument viewId is present and neither an empty string nor the NIL-UUID then it must be the ID of a current basket view, the itemId argument must be the ID of an item of this view, and the returned item IDs will be IDs of items of this view.

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

  • The sessionId parameter is not a valid string representation of an UUID or does not represent an open session.