From Bright Pattern Documentation
< 3.16:Desktop-javascript-api-specification
Revision as of 16:47, 14 June 2018 by Tracy (talk | contribs) (General Information)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
• 3.10 • 3.11 • 3.12 • 3.13 • 3.14 • 3.15 • 3.16 • 3.17 • 3.18

General Information

The API supports a number of desktop telephony functions, including call initiation, voice and screen recording, interaction completion, and the setting of interaction dispositions and notes.

These functions are available via a global object called window.bpspat.api.

For example:

window.bpspat.api.dialNumber(“1234567”);


The object is created when the script file is included in the web page loaded into the Agent Desktop application as follows:

<script type="text/javascript" src="[agent-desktop-web-server]/app/libs/servicepatternapi-dev.js"></script>


For example:

<script type="text/javascript" src="https://barco.brightpattern.com/app/libs/servicepatternapi-dev.js"></script>


< Previous | Next >
< Previous | Next >