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

addBasketView

BasketViewConfig addBasketView(SessionId sessionId,
    BasketViewConfig template)
throws BasketServiceFault;

See also: SessionId, BasketViewConfig, BasketServiceFault

The operation is used to add a new view to the basket. The basket view configuration passed as the template parameter contains the configuration options to be used for this view. The following default values are used for options that are not explicitly specified:

viewId randomly generated UUID

displayMode Planning

expandGroups true

expandPlanningFolders true

expandBasketFolders false

expandPartialPlannings false

expandAggregates false

mergeMode None

autoColumnWidth true

hiddenDiscounts false

setArticleMode Expand

name must be specified and must not be empty

visibleColumns the list of standard columns (position number, manufacturer, series, article number, description, quantity, single net price, total net price)

columnWidths empty

The operation returns the complete configuration of the newly added view.

The operation fails if

    • No non-empty name has been specified.

    • no valid view ID has been specified (invalid UUID or ID of already existent view)

    • the specified display mode is Undefined

    • the specification of visible columns is invalid (invalid UUID, non-existent column, duplicate columns)

    • the specified column widths are invalid (column ID does not specify visible column, column width less than or equal to zero, duplicate column widths)