(Update with the copy of version: draft) |
(Update with the copy of version: draft) |
||
Line 6: | Line 6: | ||
window._genesys.widgets.callback = { | window._genesys.widgets.callback = { | ||
− | apikey: ' | + | apikey: 'n3eNkgXXXXXXXXOXXXXXXXXA', |
dataURL: 'http://fce-w0147.us.int.genesyslab.com:8010/genesys/1/service/callback/samples', | dataURL: 'http://fce-w0147.us.int.genesyslab.com:8010/genesys/1/service/callback/samples', | ||
userData: {}, | userData: {}, | ||
− | countryCodes: true | + | countryCodes: true |
− | |||
}; | }; | ||
</pre> | </pre> |
Revision as of 22:06, May 11, 2018
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 | Default | Required |
---|---|---|---|---|
apikey | string | API access token. Please contact your Genesys representative to obtain your API access token. | n/a | Yes |
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!