From Bright Pattern Documentation
Jump to: navigation, search
(Created page with "<translate> = selectService = Selects a configured service (e.g., voice, chat, etc.) by name. == Request == === Syntax === window.bpspat.api.selectService(service) === Para...")
 
(Updated via BpDeleteTranslateTags script)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
<translate>
+
 
 
= selectService =
 
= selectService =
 
Selects a configured service (e.g., voice, chat, etc.) by name.
 
Selects a configured service (e.g., voice, chat, etc.) by name.
 +
 +
See the Embedded Agent Desktop Specification's [[Embedded-agent-desktop-sdk-specification/UseCases/Dial |  Use Cases]] section for ways to use this method.
  
 
== Request ==
 
== Request ==
 
=== Syntax ===
 
=== Syntax ===
  window.bpspat.api.selectService(service)
+
  window.bpspat.api.selectService(service name)
  
 
=== Parameters ===
 
=== Parameters ===
Line 12: Line 14:
 
| '''Type'''
 
| '''Type'''
 
| '''Description'''
 
| '''Description'''
 +
| '''Example'''
 
|-
 
|-
| service
+
| service name
 
| function
 
| function
 
| Service name
 
| Service name
 +
| "Customer Service"
 
|}
 
|}
  
 
== Response ==
 
== Response ==
Empty.
+
Empty. In response to the request, the service to be used for interactions changes to the specified service name.
 
 
In response to the request, the service to be used for interactions changes to the specified service name.
 
 
 
 
 
 
 
 
 
 
 
 
 
</translate>
 

Latest revision as of 04:02, 29 May 2024

• 5.19 • 5.3 • 5.8


selectService

Selects a configured service (e.g., voice, chat, etc.) by name.

See the Embedded Agent Desktop Specification's Use Cases section for ways to use this method.

Request

Syntax

window.bpspat.api.selectService(service name)

Parameters

Parameter Type Description Example
service name function Service name "Customer Service"

Response

Empty. In response to the request, the service to be used for interactions changes to the specified service name.

< Previous | Next >