getSubItemIds
Synopsis
BItemId[] getSubItemIds(SessionId sessionId,
BItemId itemId,
ViewId viewId)
throws BasketServiceFault;
See also: BItemId, SessionId, ViewId (unresolved source reference), BasketServiceFault
The getSubItemIds operation returns a sequence of basket item IDs for the child items of the basket item identified by the itemId parameter.
The itemId parameter must identify a basket item that is part of the basket item tree maintained by the basket service for the session identified by the sessionId parameter.
The itemId parameter may identify basket items of any type. If the item does not have child items, the operation returns an empty sequence.
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
sessionIdparameter is not a valid string representation of an UUID or does not represent an open session. -
The
itemIdparameter does not represent an UUID. -
The
itemIdparameter does not identify a basket item.