Revision as of 12:27, August 28, 2018 by Rmahalin (talk | contribs) (Configuration)
Jump to: navigation, search

Configuration

Description

Callback and CallbackService share the configuration namespace '_genesys.widgets.callback'. Callback has UI options while CallbackService has connection options.

Example

window._genesys.widgets.callback = {

	apikey: 'n3eNkgXXXXXXXXOXXXXXXXXA',
	dataURL: 'http://fce-w0147.us.int.genesyslab.com:8010/genesys/1/service/callback/samples',
	userData: {},
	countryCodes: true
};

Options

Name Type Description Accepted Values Default Required
apikey string Apigee Proxy secure token. n/a n/a Yes, if using Apigee Proxy.
dataURL URL String URL of GMS callback server. n/a n/a Always
apiVersion string Version of Callback API.


Note: This value determines the version of Callback API in GMS/v3.
'v1', 'v3' 'v1' Yes, if using Callback v3 dataURL
serviceName string Service Name of Callback API in v3. n/a n/a Yes, if using Callback v3 dataURL
userData object Arbitrary JSON attached data to include while scheduling a callback. n/a {}
ajaxTimeout number Number of milliseconds to wait before AJAX timeout. n/a 3000
Comments or questions about this documentation? Contact us for support!