Control the session handling (login, logout etc.) for all web services in Optimizely Campaign.
|getLocale||Queries the locale of a session.|
|getMediaType||Queries the media type of a session.|
|login||Starts the login for a session in the localization version de.|
|logout||Ends a session.|
|setLocale||Defines the locale for a session.|
|setMediaType||Defines the media type for a session.|
Some methods (mostly reporting functions) require parameters for localization. The localization version for the current session can be set active by using the setLocale method. The default value is de for German.
Some API methods work differently on different media types (such as EMAILor SMS). Use the setMediaType method to switch between media types. Default is EMAIL.
Updated 29 days ago