Jump to: navigation, search
(Created target blank page For Version: PSAAS:Public)
 
(Update with the copy of version: draft)
Line 1: Line 1:
<!-- Creation of the target page -->
+
= Configuration =
 +
== Description ==
 +
Callback and CallbackService share the configuration namespace '_genesys.widgets.callback'. Callback has UI options while CallbackService has connection options.
 +
== Example ==
 +
<pre>
 +
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,
 +
callDirection: 'USERTERMINATED'
 +
};
 +
</pre>
 +
== 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
 +
|
 +
|-
 +
| callDirection
 +
| string
 +
| Holds the GMS callback server call direction parameter
 +
| n/a
 +
|
 +
|-
 +
|}
 +
 
 +
[[Category:V:PSAAS:Public]]

Revision as of 14:51, August 25, 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,
	callDirection: 'USERTERMINATED'
};

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
callDirection string Holds the GMS callback server call direction parameter n/a
Comments or questions about this documentation? Contact us for support!