getChoiceList
Synopsis
PropertyValue[] getChoiceList(SessionId sessionId,
BItemId itemId,
string propClass,
string propName,
GetChoiceListOptions options
)
throws BasketServiceFault;
See also: PropertyValue, SessionId, BItemId, GetChoiceListOptions, BasketServiceFault
The getChoiceList operation returns the list of allowed property values1 for a single property.
The itemId parameter must identify an article item that is part of the basket item tree maintained by the basket service for the session identified by the sessionId parameter.
The propClass and propName parameters must identify a property of the article. The returned choice list is empty if the property happens to be an internal property2 or a property explicitly hidden by relation knowledge, or if the choiceList field of the Property structure is false. Otherwise, the choice list is not empty and contains at least the current property value.
See PropertyValue for a description of the PropertyValue structure which is used as the element type of the returned sequence.
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 an article item. -
The
propClassandpropNameparameters do not identify a property of the article.