Jump to: navigation, search
(Update with the copy of version: draft)
(Update with the copy of version: draft)
Line 11: Line 11:
 
countryCodes: true,
 
countryCodes: true,
 
formValidation: false,
 
formValidation: false,
callDirection: 'USERTERMINATED'
 
 
};
 
};
 
</pre>
 
</pre>
 +
 
== Options ==
 
== Options ==
 
{|
 
{|
Line 45: Line 45:
 
| Number of milliseconds to wait before AJAX timeout
 
| Number of milliseconds to wait before AJAX timeout
 
| 3000
 
| 3000
|
 
|-
 
| callDirection
 
| string
 
| Holds the GMS callback server call direction parameter
 
| n/a
 
 
|  
 
|  
 
|-
 
|-

Revision as of 15:15, November 22, 2017

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: 'n3eNkgLLgLKXREBMYjGm6lygOHHOK8VA',
	dataURL: 'http://fce-w0147.us.int.genesyslab.com:8010/genesys/1/service/callback/samples',
	userData: {},
	countryCodes: true,
	formValidation: false,
};

Options

Name Type Description Default Required
apikey string Apigee Proxy secure token n/a Yes, if using Apigee Proxy
dataURL URL String URL of GMS callback server n/a Always
userData object Arbitrary JSON attached data to include while scheduling a callback {}
ajaxTimeout number Number of milliseconds to wait before AJAX timeout 3000
Comments or questions about this documentation? Contact us for support!