From Bright Pattern Documentation
Jump to: navigation, search
(Updated via BpDeleteTranslateTags script)
 
(2 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.
Line 7: Line 7:
 
== Request ==
 
== Request ==
 
=== Syntax ===
 
=== Syntax ===
  window.bpspat.api.selectService(service)
+
  window.bpspat.api.selectService(service name)
  
 
=== Parameters ===
 
=== Parameters ===
Line 14: 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 >