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

setBasketAppData

Synopsis

void setBasketAppData(SessionId sessionId, string appKey, string[] data)
throws BasketServiceFault;

See also: SessionId, BasketServiceFault

The setBasketAppData operation is used to attach application-specific (or client-specific) data to the basket. This data can be accessed using the getBasketAppData (§getBasketAppData) operation and is part of the project file saved and loaded by the saveSession (§saveSession) and loadSession (§loadSession) operations. For more information, see §Application-Specific Data.

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

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

  • One of the elements of data contains an invalid location path, or the location path is not followed by an equals sign (=).